summaryrefslogtreecommitdiffstats
path: root/src/guestfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/guestfs.c')
-rw-r--r--src/guestfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guestfs.c b/src/guestfs.c
index f4b79e76..450ffd84 100644
--- a/src/guestfs.c
+++ b/src/guestfs.c
@@ -373,6 +373,8 @@ guestfs___debug (guestfs_h *g, const char *fs, ...)
if (len < 0) return;
guestfs___call_callbacks_message (g, GUESTFS_EVENT_LIBRARY, msg, len);
+
+ free (msg);
}
/* Call trace messages. These are enabled by setting g->trace, and