mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix pointer indirection (and thus leak)
This commit is contained in:
parent
7279fe8ab0
commit
af162668e5
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ static int pgsql_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsigned
|
|||
tmp_ptr = PQunescapeBytea(*ptr, &tmp_len);
|
||||
*ptr = estrndup(tmp_ptr, tmp_len);
|
||||
*len = tmp_len;
|
||||
caller_frees = 1;
|
||||
*caller_frees = 1;
|
||||
free(tmp_ptr);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue