summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartijn Otto <martijn.otto@copernica.com>2016-05-18 16:28:43 +0200
committerMartijn Otto <martijn.otto@copernica.com>2016-05-18 16:28:43 +0200
commit7d7ced6913bff135397b71729a356d21c98356ec (patch)
treebf6884de937e2a7170e4a55d035b4eec5068ef57 /include
parentd99626582c2a217abead069237958be10c701d41 (diff)
Fix destructor segfault and minor optimizations to some of the casting functions
Diffstat (limited to 'include')
-rw-r--r--include/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/value.h b/include/value.h
index 99c8cc9..afd532d 100644
--- a/include/value.h
+++ b/include/value.h
@@ -1114,7 +1114,7 @@ protected:
* The wrapped zval
* @var struct zval*
*/
- struct _zval_struct *_val;
+ struct _zval_struct *_val = nullptr;
/**
* Detach the zval