diff libaf/af_dummy.c @ 32537:8fa2f43cb760

Remove most of the NULL pointer check before free all over the code
author cboesch
date Sun, 14 Nov 2010 09:12:34 +0000
parents 0f1b5b68af32
children a93891202051
line wrap: on
line diff
--- a/libaf/af_dummy.c	Sat Nov 13 10:23:34 2010 +0000
+++ b/libaf/af_dummy.c	Sun Nov 14 09:12:34 2010 +0000
@@ -41,7 +41,6 @@
 // Deallocate memory
 static void uninit(struct af_instance_s* af)
 {
-  if(af->data)
     free(af->data);
 }