guestfs_find: Fix memory leak of sysrootdir.

This commit is contained in:
Richard Jones
2009-10-20 10:19:21 +01:00
parent ea12489788
commit cefc644d58

View File

@@ -85,6 +85,7 @@ do_find (const char *dir)
free (sysrootdir);
return NULL;
}
free (sysrootdir);
if (verbose)
fprintf (stderr, "%s\n", cmd);