summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-03-21 18:08:59 +0000
committerMarcus Boerger <helly@php.net>2003-03-21 18:08:59 +0000
commitf83c88e81dd670dd48a4ebbf9eeb8374f45b3fdf (patch)
tree24b48d1a5547a6203b63993f9e831abe8c97ac6d /ext/mysqli/mysqli.c
parent485ee3914aefe1a78f6c2a5911eb9a17399bd8c7 (diff)
downloadphp-git-f83c88e81dd670dd48a4ebbf9eeb8374f45b3fdf.tar.gz
Add missing initialization
Diffstat (limited to 'ext/mysqli/mysqli.c')
-rw-r--r--ext/mysqli/mysqli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c
index ec014bb63b..f5b856c08c 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -114,6 +114,7 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry *class_
intern->zo.ce = class_type;
intern->zo.in_get = 0;
intern->zo.in_set = 0;
+ intern->ptr = NULL;
ALLOC_HASHTABLE(intern->zo.properties);
zend_hash_init(intern->zo.properties, 0, NULL, ZVAL_PTR_DTOR, 0);