projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix leak; fix test
[m6w6/ext-pq]
/
src
/
php_pqstm.c
diff --git
a/src/php_pqstm.c
b/src/php_pqstm.c
index f6da0672f40ceac17de684aef0b8cb51abd03599..0dd2ebc50cd2532e027ef94762e9ce2f2e4ed8b8 100644
(file)
--- a/
src/php_pqstm.c
+++ b/
src/php_pqstm.c
@@
-79,6
+79,7
@@
static void php_pqstm_object_free(void *o TSRMLS_DC)
php_pq_object_delref(obj->intern->conn TSRMLS_CC);
}
efree(obj->intern->name);
+ efree(obj->intern->query);
zend_hash_destroy(&obj->intern->bound);
if (obj->intern->params) {
php_pq_params_free(&obj->intern->params);