[php-src] PR #12095: Fix memory leak with failed SQLPrepare
| From: | NattyNarwhal | Date: | Thu, 31 Aug 2023 18:41:00 +0000 |
| Subject: | [php-src] PR #12095: Fix memory leak with failed SQLPrepare | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23542@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12095
Author: NattyNarwhal
If
odbc_prepare fails in SQLPrepare, then it neglects to free
result like the other codepaths that exit early.