From fb7da626c0d178d687f439af2e19401f34bc901e Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 6 Jun 2014 18:35:13 +0200 Subject: audio: Drop superfluous conditionals around g_free() Signed-off-by: Markus Armbruster Signed-off-by: Gerd Hoffmann --- hw/audio/adlib.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'hw') 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; -- cgit v1.2.3