diff options
author | Toon Schoenmakers <toon.schoenmakers@copernica.com> | 2014-12-22 15:45:06 +0100 |
---|---|---|
committer | Toon Schoenmakers <toon.schoenmakers@copernica.com> | 2014-12-22 15:45:06 +0100 |
commit | 38135ce4ab49c06799df08cfff4bc8d6f67e5fc7 (patch) | |
tree | a7bcacaff7fabb576eda21d507a638124e61ca58 /include | |
parent | ff9a22782a7d28b11af0ff2d3948a196ab12d003 (diff) |
Corrected an incorrect refcount when cloning a Php::Value, this should fix the memory leak in issue #153
Diffstat (limited to 'include')
-rw-r--r-- | include/value.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/value.h b/include/value.h index 5c34406..7bdd853 100644 --- a/include/value.h +++ b/include/value.h @@ -110,7 +110,6 @@ public: * Wrap object around zval * @param zval Zval to wrap * @param ref Force this to be a reference - * @param tsrm_ls Optional pointer to thread safe data */ Value(struct _zval_struct *zval, bool ref=false); @@ -655,7 +654,7 @@ public: /** * Cast to a number - * @return uint64_t + * @return int64_t */ operator int64_t () const { |