php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch pg_escape_bytea.diff for PostgreSQL related Bug #75838Patch version 2018-01-17 23:41 UTC Return to Bug #75838 | Download this patchPatch Revisions: Developer: ard_1@mail.ru--- pgsql.c.orig 2018-01-18 02:19:23.000000000 +0300 +++ pgsql.c 2018-01-18 02:25:41.595271000 +0300 @@ -4433,6 +4433,7 @@ to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len); RETVAL_STRINGL(to, to_len-1); /* to_len includes additional '\0' */ + PQfreemem(to); } /* }}} */ |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Thu Nov 21 12:01:29 2024 UTC |