From 68b899ce26945a879a4c607c34aa9e42f1f85cd9 Mon Sep 17 00:00:00 2001 From: Jouni Ahto Date: Tue, 17 Oct 2000 17:46:14 +0000 Subject: [PATCH] (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... :( --- ext/interbase/interbase.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c index 706747d23a2..c248b012bfe 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);