mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
lib: Fix memory leak in tmpdir/cachedir code (found by valgrind).
This fixes commit 1efed122c0.
This commit is contained in:
@@ -345,6 +345,9 @@ guestfs_close (guestfs_h *g)
|
||||
if (g->pda)
|
||||
hash_free (g->pda);
|
||||
free (g->tmpdir);
|
||||
free (g->env_tmpdir);
|
||||
free (g->int_tmpdir);
|
||||
free (g->int_cachedir);
|
||||
free (g->last_error);
|
||||
free (g->path);
|
||||
free (g->qemu);
|
||||
|
||||
Reference in New Issue
Block a user