From fe3c4810e1c8b535caf07df8e4434e322d3e6fc0 Mon Sep 17 00:00:00 2001 From: cboesch Date: Sun, 14 Nov 2010 09:12:34 +0000 Subject: cleanup: remove NULL checks before free() all over the code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libaf/af_volume.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libaf/af_volume.c') diff --git a/libaf/af_volume.c b/libaf/af_volume.c index e523333c91..768f67c5f3 100644 --- a/libaf/af_volume.c +++ b/libaf/af_volume.c @@ -133,9 +133,7 @@ static int control(struct af_instance_s* af, int cmd, void* arg) // Deallocate memory static void uninit(struct af_instance_s* af) { - if(af->data) free(af->data); - if(af->setup) free(af->setup); } -- cgit v1.2.3