diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-11-19 15:30:45 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-11-19 15:32:02 +0000 |
commit | 4f9a670d09b4d620fccc36e7c2df8fc912749f97 (patch) | |
tree | 683a7e690cf53387a183895b4f1701daf9d0456e /src | |
parent | 53f670c33ad8609c9733aa8e8e3555091fdc9f87 (diff) | |
download | libguestfs-4f9a670d09b4d620fccc36e7c2df8fc912749f97.tar.gz libguestfs-4f9a670d09b4d620fccc36e7c2df8fc912749f97.tar.xz libguestfs-4f9a670d09b4d620fccc36e7c2df8fc912749f97.zip |
inspect: Fix memory leak of hostname.
This fixes a memory leak introduced by
commit fab75c0337d7897d10ea5e95e47ac05eab81ace9.
Diffstat (limited to 'src')
-rw-r--r-- | src/inspect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspect.c b/src/inspect.c index baf4b3a0..e42dca86 100644 --- a/src/inspect.c +++ b/src/inspect.c @@ -2346,6 +2346,7 @@ guestfs___free_inspect_info (guestfs_h *g) free (g->fses[i].device); free (g->fses[i].product_name); free (g->fses[i].arch); + free (g->fses[i].hostname); free (g->fses[i].windows_systemroot); size_t j; for (j = 0; j < g->fses[i].nr_fstab; ++j) { |