We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29a5adc commit 4621423Copy full SHA for 4621423
NEWS
@@ -56,6 +56,9 @@ PHP NEWS
56
- PDO Sqlite:
57
. Fix memory leak on error return of collation callback. (nielsdos)
58
59
+- PgSql:
60
+ . Fix uouv in pg_put_copy_end(). (nielsdos)
61
+
62
- SPL:
63
. Fixed bug GH-18322 (SplObjectStorage debug handler mismanages memory).
64
(nielsdos)
ext/pgsql/pgsql.c
@@ -6215,7 +6215,7 @@ PHP_FUNCTION(pg_put_copy_end)
6215
{
6216
zval *pgsql_link;
6217
pgsql_link_handle *link;
6218
- zend_string *error;
+ zend_string *error = NULL;
6219
char *err = NULL;
6220
6221
ZEND_PARSE_PARAMETERS_START(1, 2)
0 commit comments