audio: fix WAVState leak
commit7bdfd907e7072e380f325e735d99677df53f00ec
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 3 May 2017 22:38:44 +0000 (4 02:38 +0400)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 4 May 2017 07:15:45 +0000 (4 09:15 +0200)
treeca75d1fb4a7c2e73c4716dd7613c59cc414b647f
parent3268a845f41253fb55852a8429c32b50f36f349a
audio: fix WAVState leak

Spotted by ASAN.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20170503223846.6559-4-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/wavcapture.c