projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix a memory leak in generate_isa_predicate_for()
[gitmo/Mouse.git]
/
xs-src
/
MouseUtil.xs
diff --git
a/xs-src/MouseUtil.xs
b/xs-src/MouseUtil.xs
index
b8afb80
..
006eab2
100644
(file)
--- a/
xs-src/MouseUtil.xs
+++ b/
xs-src/MouseUtil.xs
@@
-377,6
+377,6
@@
PPCODE:
}
if(predicate_name == NULL){ /* anonymous predicate */
- XPUSHs( newRV_noinc((SV*)xsub) );
+ mXPUSHs( newRV_inc((SV*)xsub) );
}
}