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:
db8c9f8
)
ruby: Memory leak: Free roots array along handle close path.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 29 Nov 2011 17:47:18 +0000
(17:47 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 2 Dec 2011 08:36:56 +0000
(08:36 +0000)
(cherry picked from commit
eb7ec6170eca278fb910e18ca1f7ca81c6b507c0
)
generator/generator_ruby.ml
patch
|
blob
|
history
diff --git
a/generator/generator_ruby.ml
b/generator/generator_ruby.ml
index
a8416b4
..
a43b21f
100644
(file)
--- a/
generator/generator_ruby.ml
+++ b/
generator/generator_ruby.ml
@@
-84,6
+84,7
@@
ruby_guestfs_free (void *gvp)
rb_gc_unregister_address (roots[i]);
free (roots[i]);
}
+ free (roots);
}
}