Re: cvs: php-src(PHP_5_1) /ext/pdo_pgsql pgsql_driver.c pgsql_statement.c
| From: | Wez Furlong | Date: | Thu, 01 Dec 2005 05:09:32 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_1) /ext/pdo_pgsql pgsql_driver.c pgsql_statement.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-35541@lists.php.net to get a copy of this message | ||
On 11/30/05, Ilia Alshanetsky <iliaa@php.net> wrote:
> if (nsql) {
> - S->query = nsql;
> + S->query = estrdup(nsql);
nsql is emalloc'd by the rewriter; are you sure this isn't creating a
new leak? :)
> } else {
> S->query = estrdup(sql);
> }
>