diff options
author | Toon Schoenmakers <toon.schoenmakers@copernica.com> | 2014-11-25 11:45:47 +0100 |
---|---|---|
committer | Toon Schoenmakers <toon.schoenmakers@copernica.com> | 2014-11-25 11:45:47 +0100 |
commit | da4de6cb1097471b2659c102d55a646cbc9e0f41 (patch) | |
tree | 1d3cdff8d534b76c5e1e4f8855a7f706516aa4a2 /zend/value.cpp | |
parent | 945748c19b966fff297d9a7a1e2dfda3b0a80754 (diff) |
Fixed a memory leak when returning a Php::Object with an already allocated Basev1.2.2
Diffstat (limited to 'zend/value.cpp')
-rw-r--r-- | zend/value.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/zend/value.cpp b/zend/value.cpp index 946a41d..501feb7 100644 --- a/zend/value.cpp +++ b/zend/value.cpp @@ -210,9 +210,6 @@ Value::Value(const Base *object) // store the handlers in the zval too (cast is necessary for php 5.3) Z_OBJ_HT_P(_val) = (zend_object_handlers*)obj_bucket->bucket.obj.handlers; - - // run the copy constructor - zval_copy_ctor(_val); } /** |