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:
9e01446
)
Eliminate dead NULL-assignments on exit from parseScript()
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 27 May 2011 11:10:51 +0000
(14:10 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 27 May 2011 12:24:24 +0000
(15:24 +0300)
build/parseScript.c
patch
|
blob
|
history
diff --git
a/build/parseScript.c
b/build/parseScript.c
index
371dc1b
..
0a70ccd
100644
(file)
--- a/
build/parseScript.c
+++ b/
build/parseScript.c
@@
-380,10
+380,10
@@
int parseScript(rpmSpec spec, int parsePart)
exit:
free(reqargs);
-
sb =
freeStringBuf(sb);
-
progArgv = _
free(progArgv);
-
argv = _
free(argv);
-
optCon =
poptFreeContext(optCon);
+ freeStringBuf(sb);
+ free(progArgv);
+ free(argv);
+ poptFreeContext(optCon);
return res;
}