Eliminate obvious dead NULL-assignment at headerLoad() error exit
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 30 May 2011 08:25:51 +0000 (11:25 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 30 May 2011 08:25:51 +0000 (11:25 +0300)
lib/header.c

index bc6d154..5a54e75 100644 (file)
@@ -902,8 +902,8 @@ Header headerLoad(void * uh)
 
 errxit:
     if (h) {
-       h->index = _free(h->index);
-       h = _free(h);
+       free(h->index);
+       free(h);
     }
     return NULL;
 }