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:
efef3e3
)
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>
Tue, 29 Nov 2011 17:52:46 +0000
(17:52 +0000)
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);
}
}