projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
release 2.0.0
[m6w6/ext-pq]
/
src
/
php_pqtypes.c
diff --git
a/src/php_pqtypes.c
b/src/php_pqtypes.c
index a95c257e15d939166359b761aa1c8a99b585739c..ef169d36556020525fb4969fa4af15ce8189c3fc 100644
(file)
--- a/
src/php_pqtypes.c
+++ b/
src/php_pqtypes.c
@@
-114,6
+114,9
@@
static int php_pqtypes_object_has_dimension(zval *object, zval *member, int chec
return Z_TYPE_P(data) != IS_NULL;
}
} else {
return Z_TYPE_P(data) != IS_NULL;
}
} else {
+ if (key) {
+ zend_string_release(key);
+ }
return 1;
}
}
return 1;
}
}