We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 043d53c commit fb20502Copy full SHA for fb20502
2 files changed
NEWS
@@ -2,7 +2,8 @@ PHP NEWS
2
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3
?? ??? 2018, PHP 7.1.15
4
5
-
+- PGSQL:
6
+ . Fixed #75838 (Memory leak in pg_escape_bytea()). (ard_1 at mail dot ru)
7
8
01 Feb 2018, PHP 7.1.14
9
ext/pgsql/pgsql.c
@@ -4442,6 +4442,7 @@ PHP_FUNCTION(pg_escape_bytea)
4442
to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len);
4443
4444
RETVAL_STRINGL(to, to_len-1); /* to_len includes additional '\0' */
4445
+ PQfreemem(to);
4446
}
4447
/* }}} */
4448
0 commit comments