]> granicus.if.org Git - php/commitdiff
(ibase_execute) - Oops, trying to free a little bit too much. Maybe fixes
authorJouni Ahto <jah@php.net>
Tue, 17 Oct 2000 17:46:14 +0000 (17:46 +0000)
committerJouni Ahto <jah@php.net>
Tue, 17 Oct 2000 17:46:14 +0000 (17:46 +0000)
  #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

index 706747d23a269589bbfd469ec2524e4de5196fd0..c248b012bfea171c05c24bec84bcefe9a7a96076 100644 (file)
@@ -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);