From: Jouni Ahto Date: Tue, 17 Oct 2000 17:46:14 +0000 (+0000) Subject: (ibase_execute) - Oops, trying to free a little bit too much. Maybe fixes X-Git-Tag: php-4.0.4RC3~648 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68b899ce26945a879a4c607c34aa9e42f1f85cd9;p=php (ibase_execute) - Oops, trying to free a little bit too much. Maybe fixes #6721, #7117, #7278. # Shouldn't have 6 versions of interbase.c lying around. Can't always # remember which versions were tested, which ones committed and which ones # actually in CVS... :( --- diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c index 706747d23a..c248b012bf 100644 --- a/ext/interbase/interbase.c +++ b/ext/interbase/interbase.c @@ -1411,8 +1411,9 @@ static int _php_ibase_exec(ibase_result **ib_resultp, ibase_query *ib_query, int _php_ibase_exec_error: /* I'm a bad boy... */ - if (in_sqlda) - _php_ibase_free_xsqlda(in_sqlda); + if (in_sqlda){ + efree(in_sqlda); + } if (bind_buf) efree(bind_buf);