summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-08-06 03:50:52 +0000
committerSascha Schumann <sas@php.net>2001-08-06 03:50:52 +0000
commit23b9300fd1c854371f0f9b95dce5e259cef653d9 (patch)
tree4575b72c19b61cee38bbec58ba104faeb325b271 /ext/pgsql/pgsql.c
parente6697297b6bea4a158ced5da05393bee92a8e14f (diff)
downloadphp-git-23b9300fd1c854371f0f9b95dce5e259cef653d9.tar.gz
more tsrm cleanup
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r--ext/pgsql/pgsql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 81fef71dcf..fcf9271ab1 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -1208,7 +1208,7 @@ static void php_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type)
int should_copy=0;
if (PG(magic_quotes_runtime)) {
- data = php_addslashes(element, element_len, &data_len, 0);
+ data = php_addslashes(element, element_len, &data_len, 0 TSRMLS_CC);
} else {
data = safe_estrndup(element, element_len);
data_len = element_len;