From 7d7ced6913bff135397b71729a356d21c98356ec Mon Sep 17 00:00:00 2001 From: Martijn Otto Date: Wed, 18 May 2016 16:28:43 +0200 Subject: Fix destructor segfault and minor optimizations to some of the casting functions --- include/value.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/value.h') 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 -- cgit v1.2.3