git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea12489
)
guestfs_find: Fix memory leak of sysrootdir.
author
Richard Jones
<rjones@redhat.com>
Tue, 20 Oct 2009 09:19:21 +0000
(10:19 +0100)
committer
Richard Jones
<rjones@redhat.com>
Tue, 20 Oct 2009 09:31:55 +0000
(10:31 +0100)
daemon/find.c
patch
|
blob
|
history
diff --git
a/daemon/find.c
b/daemon/find.c
index
b659eb6
..
c5d26d7
100644
(file)
--- a/
daemon/find.c
+++ b/
daemon/find.c
@@
-85,6
+85,7
@@
do_find (const char *dir)
free (sysrootdir);
return NULL;
}
+ free (sysrootdir);
if (verbose)
fprintf (stderr, "%s\n", cmd);