projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3268a84
)
audio: fix WAVState leak
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Wed, 3 May 2017 22:38:44 +0000
(
02:38
+0400)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 4 May 2017 07:15:45 +0000
(09:15 +0200)
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
patch
|
blob
|
history
diff --git
a/audio/wavcapture.c
b/audio/wavcapture.c
index 8bfb9e765468936137a12e844ce578846f8b393d..5863803584baa2bc02d3b51331e9d47ade480866 100644
(file)
--- a/
audio/wavcapture.c
+++ b/
audio/wavcapture.c
@@
-88,6
+88,7
@@
static void wav_capture_destroy (void *opaque)
WAVState *wav = opaque;
AUD_del_capture (wav->cap, wav);
+ g_free (wav);
}
static void wav_capture_info (void *opaque)