git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35c8e4f
)
ocaml: Memory leak: Free roots array along handle close path.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 29 Nov 2011 12:25:34 +0000
(12:25 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 29 Nov 2011 12:25:34 +0000
(12:25 +0000)
ocaml/guestfs_c.c
patch
|
blob
|
history
diff --git
a/ocaml/guestfs_c.c
b/ocaml/guestfs_c.c
index
96e8a35
..
fd5e14a
100644
(file)
--- a/
ocaml/guestfs_c.c
+++ b/
ocaml/guestfs_c.c
@@
-82,6
+82,7
@@
guestfs_finalize (value gv)
caml_remove_global_root (roots[i]);
free (roots[i]);
}
+ free (roots);
caml_remove_global_root (v);
free (v);