summaryrefslogtreecommitdiff
path: root/zend/callable.h
diff options
context:
space:
mode:
authorToon Schoenmakers <toon.schoenmakers@copernica.com>2014-11-25 11:45:47 +0100
committerToon Schoenmakers <toon.schoenmakers@copernica.com>2014-11-25 11:45:47 +0100
commitda4de6cb1097471b2659c102d55a646cbc9e0f41 (patch)
tree1d3cdff8d534b76c5e1e4f8855a7f706516aa4a2 /zend/callable.h
parent945748c19b966fff297d9a7a1e2dfda3b0a80754 (diff)
Fixed a memory leak when returning a Php::Object with an already allocated Basev1.2.2
Diffstat (limited to 'zend/callable.h')
-rw-r--r--zend/callable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/callable.h b/zend/callable.h
index 9958a2a..bd74f27 100644
--- a/zend/callable.h
+++ b/zend/callable.h
@@ -144,7 +144,7 @@ protected:
{
// fill members
info->name = arg.name();
- info->name_len = ::strlen(arg.name());
+ info->name_len = ::strlen(arg.name());
#if PHP_VERSION_ID >= 50400