projects
/
m6w6
/
ext-pq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
788f533
)
Add missing TSRMLS
author
Chris Wright
<daverandom@php.net>
Sun, 14 Dec 2014 02:51:08 +0000
(
02:51
+0000)
committer
Chris Wright
<daverandom@php.net>
Sun, 14 Dec 2014 02:51:08 +0000
(
02:51
+0000)
src/php_pqstm.c
patch
|
blob
|
history
diff --git
a/src/php_pqstm.c
b/src/php_pqstm.c
index 10d57686ae9d5c91fc6db135c00b9c84ef776243..f6da0672f40ceac17de684aef0b8cb51abd03599 100644
(file)
--- a/
src/php_pqstm.c
+++ b/
src/php_pqstm.c
@@
-29,7
+29,7
@@
zend_class_entry *php_pqstm_class_entry;
static zend_object_handlers php_pqstm_object_handlers;
static HashTable php_pqstm_object_prophandlers;
static zend_object_handlers php_pqstm_object_handlers;
static HashTable php_pqstm_object_prophandlers;
-static void php_pqstm_deallocate(php_pqstm_object_t *obj, zend_bool async, zend_bool silent)
+static void php_pqstm_deallocate(php_pqstm_object_t *obj, zend_bool async, zend_bool silent
TSRMLS_DC
)
{
if (obj->intern->allocated) {
char *quoted_name = PQescapeIdentifier(obj->intern->conn->intern->conn, obj->intern->name, strlen(obj->intern->name));
{
if (obj->intern->allocated) {
char *quoted_name = PQescapeIdentifier(obj->intern->conn->intern->conn, obj->intern->name, strlen(obj->intern->name));
@@
-75,7
+75,7
@@
static void php_pqstm_object_free(void *o TSRMLS_DC)
if (obj->intern) {
if (obj->intern->conn->intern) {
php_pq_callback_dtor(&obj->intern->conn->intern->onevent);
if (obj->intern) {
if (obj->intern->conn->intern) {
php_pq_callback_dtor(&obj->intern->conn->intern->onevent);
- php_pqstm_deallocate(obj, 0, 1);
+ php_pqstm_deallocate(obj, 0, 1
TSRMLS_CC
);
php_pq_object_delref(obj->intern->conn TSRMLS_CC);
}
efree(obj->intern->name);
php_pq_object_delref(obj->intern->conn TSRMLS_CC);
}
efree(obj->intern->name);