git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
guestfs_find: Fix memory leak of sysrootdir.
[libguestfs.git]
/
daemon
/
find.c
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);