|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-11-11 13:31 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 04:00:02 2025 UTC |
Description: ------------ See below. Reproduce code: --------------- ibase_trans(1); ibase_trans(); ibase_trans('foo'); ibase_trans(fopen(__FILE__, 'r')); $x = ibase_connect('/home/felipe/teste.fdb', 'foo', 'bar'); ibase_trans(1, 2, $x, $x, 3); Expected result: ---------------- Warning: ibase_trans(): no Firebird/InterBase link resource supplied in /home/felipe/dev/bug.php on line 3 Warning: ibase_trans(): no Firebird/InterBase link resource supplied in /home/felipe/dev/bug.php on line 4 Warning: ibase_trans(): no Firebird/InterBase link resource supplied in /home/felipe/dev/bug.php on line 5 Warning: ibase_trans(): supplied resource is not a valid Firebird/InterBase link resource in /home/felipe/dev/bug.php on line 6 Actual result: -------------- Warning: ibase_trans(): no Firebird/InterBase link resource supplied in /home/felipe/dev/bug.php on line 3 Warning: ibase_trans(): no Firebird/InterBase link resource supplied in /home/felipe/dev/bug.php on line 4 Warning: ibase_trans(): no Firebird/InterBase link resource supplied in /home/felipe/dev/bug.php on line 5 Warning: ibase_trans(): supplied resource is not a valid Firebird/InterBase link resource in /home/felipe/dev/bug.php on line 6 [Tue Nov 11 11:05:43 2008] Script: '../bug.php' /home/felipe/dev/php6/ext/interbase/interbase.c(1194) : Freeing 0x0897BF38 (8 bytes), script=../bug.php /home/felipe/dev/php6/Zend/zend_alloc.c(2448) : Actual location (location was relayed) Last leak repeated 3 times [Tue Nov 11 11:05:43 2008] Script: '../bug.php' /home/felipe/dev/php6/ext/interbase/interbase.c(1209) : Freeing 0x0897BF70 (8 bytes), script=../bug.php /home/felipe/dev/php6/Zend/zend_alloc.c(2448) : Actual location (location was relayed) [Tue Nov 11 11:05:43 2008] Script: '../bug.php' /home/felipe/dev/php6/ext/interbase/interbase.c(1200) : Freeing 0x0897C250 (4 bytes), script=../bug.php /home/felipe/dev/php6/Zend/zend_alloc.c(2448) : Actual location (location was relayed) [Tue Nov 11 11:05:43 2008] Script: '../bug.php' /home/felipe/dev/php6/ext/interbase/interbase.c(1208) : Freeing 0x0897C530 (12 bytes), script=../bug.php /home/felipe/dev/php6/Zend/zend_alloc.c(2448) : Actual location (location was relayed) === Total 7 memory leaks detected ===