]> granicus.if.org Git - php/commit
Fix memory leak exhibited by bug_aaa.phpt
authorChristoph M. Becker <cmbecker69@gmx.de>
Sat, 4 May 2019 07:42:07 +0000 (09:42 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 4 May 2019 12:20:11 +0000 (14:20 +0200)
commitae21dc46da5126fb37b2b487760c558f3e8263f8
tree67f5df030e0d0056af8e0b013ea820346b6add24
parentba0913a2e56c2d5f43b0f06373a79e33702e0f58
Fix memory leak exhibited by bug_aaa.phpt

Since a statement may be executed multiple times, we need to free
already allocated storage for output data before allocating new
storage.
ext/pdo_firebird/firebird_statement.c