changeset 35534:4cdbc26e4191

Remove two pointless conditions.
author upsuper
date Sun, 09 Dec 2012 09:07:00 +0000
parents a51fc69ae1b3
children dad7efd97bbb
files libaf/af_export.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/af_export.c	Sun Dec 09 03:15:32 2012 +0000
+++ b/libaf/af_export.c	Sun Dec 09 09:07:00 2012 +0000
@@ -74,7 +74,6 @@
     int mapsize;
 
     // Free previous buffers
-    if (s->buf[0])
       free(s->buf[0]);
 
     // unmap previous area
@@ -183,7 +182,6 @@
 
   if(af->setup){
     af_export_t* s = af->setup;
-    if (s->buf[0])
       free(s->buf[0]);
 
     // Free mmaped area