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:
586268c
)
Plug memleak in macro doFoo()
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 29 Apr 2008 14:04:08 +0000
(17:04 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 29 Apr 2008 14:39:02 +0000
(17:39 +0300)
rpmio/macro.c
patch
|
blob
|
history
diff --git
a/rpmio/macro.c
b/rpmio/macro.c
index
8b3ba59
..
b8889ed
100644
(file)
--- a/
rpmio/macro.c
+++ b/
rpmio/macro.c
@@
-1008,6
+1008,7
@@
doFoo(MacroBuf mb, int negate, const char * f, size_t fn,
if (b) {
(void) expandT(mb, b, strlen(b));
}
+ free(buf);
}
/**