projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
d39ac61
)
Fix a memory leak in generate_isa_predicate_for()
gfx [Tue, 2 Feb 2010 03:57:23 +0000 (12:57 +0900)]
xs-src/MouseUtil.xs
patch
|
blob
|
blame
|
history
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) );
}
}