From: Edin Kadribasic Date: Wed, 26 May 2004 17:45:03 +0000 (+0000) Subject: PQfreemem() is only available in 7.4 X-Git-Tag: php-5.0.0RC3RC1~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9cc4fb18b6a7e3652c8a6de073430a6f6f3f70b3;p=php PQfreemem() is only available in 7.4 --- diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c index 359f394d61..063c34ed61 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -146,7 +146,7 @@ static int pgsql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquote (*quoted)[0] = '\''; (*quoted)[*quotedlen-1] = '\''; (*quoted)[*quotedlen] = '\0'; - PQfreemem(escaped); + free(escaped); return 1; }