diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-07 10:55:53 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-07 10:55:53 +0200 |
commit | 45a79f33051ed70fd69d3b9943a1e5797402430e (patch) | |
tree | f87bacb47b746182367bbb1e9840f5cb32cbb783 /include | |
parent | e2b543132bdf6cf7c335801139c19cc17dca0c34 (diff) |
objects were not destructed correctly (we freed memory that we had allocated ourselves, but the Zend engine seemed to deallocate the same memory too, which caused a crash), and improved returning values from functions, which crashed when one of the own parameters was directly returned (error mentioned in issue #68)
Diffstat (limited to 'include')
-rw-r--r-- | include/value.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/value.h b/include/value.h index 844f978..95985d7 100644 --- a/include/value.h +++ b/include/value.h @@ -949,6 +949,7 @@ protected: friend class TraverseIterator; friend class HashMember<int>; friend class HashMember<std::string>; + friend class Callable; }; /** |