git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
extra tests: Add comments about what is not tested here.
[libguestfs.git]
/
generator
/
generator_ocaml.ml
diff --git
a/generator/generator_ocaml.ml
b/generator/generator_ocaml.ml
index
4f7548c
..
10c18e3
100644
(file)
--- a/
generator/generator_ocaml.ml
+++ b/
generator/generator_ocaml.ml
@@
-625,6
+625,7
@@
copy_table (char * const * argv)
| RBufferOut _ ->
pr " rv = caml_alloc_string (size);\n";
pr " memcpy (String_val (rv), r, size);\n";
+ pr " free (r);\n"
);
pr " CAMLreturn (rv);\n";