projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27bc43f
)
Eliminate dead NULL assignments on processMetadataFile() exit
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 27 May 2011 10:33:00 +0000
(13:33 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 27 May 2011 12:23:20 +0000
(15:23 +0300)
build/files.c
patch
|
blob
|
history
diff --git
a/build/files.c
b/build/files.c
index
53dcdea
..
e98567c
100644
(file)
--- a/
build/files.c
+++ b/
build/files.c
@@
-1630,9
+1630,9
@@
static rpmRC processMetadataFile(Package pkg, FileList fl,
rc = addFile(fl, fn, NULL);
exit:
-
apkt = _
free(apkt);
-
pkt = _
free(pkt);
- f
n = _f
ree(fn);
+ free(apkt);
+ free(pkt);
+ free(fn);
if (rc) {
fl->processingFailed = 1;
rc = RPMRC_FAIL;