summaryrefslogtreecommitdiffstats
path: root/src/generator.ml
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-16 17:38:27 +0100
committerRichard Jones <rjones@redhat.com>2009-04-16 17:38:27 +0100
commit1e60354dc8fb306fa139ae744a596f4f5bcbd9a7 (patch)
tree41efb3c828df4b1e0023c3f377885dca75de62d4 /src/generator.ml
parent3ae8631c8fb1f9f05aab3549fd56a8b41cd99784 (diff)
downloadlibguestfs-1e60354dc8fb306fa139ae744a596f4f5bcbd9a7.tar.gz
libguestfs-1e60354dc8fb306fa139ae744a596f4f5bcbd9a7.tar.xz
libguestfs-1e60354dc8fb306fa139ae744a596f4f5bcbd9a7.zip
Missing free() on return path (thanks: Steve Grubb).
Diffstat (limited to 'src/generator.ml')
-rwxr-xr-xsrc/generator.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/generator.ml b/src/generator.ml
index bd8afb77..41fc0c81 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -2394,6 +2394,7 @@ and generate_daemon_actions () =
pr " reply_with_error (\"%%s\", err);\n";
pr " free (out);\n";
pr " free (err);\n";
+ pr " free (ret);\n";
pr " return NULL;\n";
pr " }\n";
pr "\n";