projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecd4902
)
Eliminate obvious dead NULL-assignment at headerLoad() error exit
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 30 May 2011 08:25:51 +0000
(11:25 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 30 May 2011 08:25:51 +0000
(11:25 +0300)
lib/header.c
patch
|
blob
|
history
diff --git
a/lib/header.c
b/lib/header.c
index
bc6d154
..
5a54e75
100644
(file)
--- a/
lib/header.c
+++ b/
lib/header.c
@@
-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;
}