lib: Fix memory leak when debugging enabled (found by valgrind).
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 24 Nov 2011 15:50:54 +0000 (15:50 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 24 Nov 2011 15:51:16 +0000 (15:51 +0000)
commitdd76ce2b4c93dd10d8eca9ab7c77bc831f103d03
tree39680337986f2ce01ce421bf2808ea9be6c2a01c
parentbfc0a5f58d3cb6faad5a44bed392f33190e62246
lib: Fix memory leak when debugging enabled (found by valgrind).

If you enabled debugging (eg. LIBGUESTFS_DEBUG=1) then every
debug message printed would be leaked.
src/guestfs.c