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:
a17b3b6
)
Plug minor memleak from rpmGetCwd() on build
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 27 Mar 2009 11:44:46 +0000
(13:44 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 27 Mar 2009 11:44:46 +0000
(13:44 +0200)
build.c
patch
|
blob
|
history
diff --git
a/build.c
b/build.c
index
48e579d
..
193fe50
100644
(file)
--- a/
build.c
+++ b/
build.c
@@
-219,6
+219,7
@@
static int buildForTarget(rpmts ts, const char * arg, BTA_t ba)
char *cwd = rpmGetCwd();
char *s = NULL;
rasprintf(&s, "%s/%s", cwd, arg);
+ free(cwd);
free(specFile);
specFile = s;
}