diff options
author | Markus Armbruster | 2014-06-06 18:35:13 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2014-06-13 12:34:54 +0200 |
commit | fb7da626c0d178d687f439af2e19401f34bc901e (patch) | |
tree | 637ead7bd04678af8c72f6acaca186891a990ffa /hw | |
parent | Merge remote-tracking branch 'remotes/kraxel/tags/pull-gtk-20140611-1' into s... (diff) | |
download | qemu-fb7da626c0d178d687f439af2e19401f34bc901e.tar.gz qemu-fb7da626c0d178d687f439af2e19401f34bc901e.tar.xz qemu-fb7da626c0d178d687f439af2e19401f34bc901e.zip |
audio: Drop superfluous conditionals around g_free()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/audio/adlib.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/audio/adlib.c b/hw/audio/adlib.c index 5dd739e541..656eb3773a 100644 --- a/hw/audio/adlib.c +++ b/hw/audio/adlib.c @@ -275,9 +275,7 @@ static void Adlib_fini (AdlibState *s) } #endif - if (s->mixbuf) { - g_free (s->mixbuf); - } + g_free(s->mixbuf); s->active = 0; s->enabled = 0; |