Hi,
The same problem with FFI library 1.01 was exposed with perl, v5.8.2 built for i686-linux-64int on system with the next standard Linux distribution:
Linux chris-123 2.4.21-20.EL.c0smp #1 SMP Thu Sep 9 01:53:25 EDT 2004 i686 i686 i386 GNU/Linux
Viktor Nosov.
Show quoted text-----Original Message-----
From: FFI [mailto:bug-FFI@rt.cpan.org]
Sent: Monday, November 15, 2004 8:44 AM
To: Viktor Nosov
Subject: [cpan #8446] AutoReply: Memory leak
Greetings,
This message has been automatically generated in response to your bug report about FFI, a summary of which appears below.
There is no need to reply to this message right now. Your bug in FFI has been assigned an ID of [cpan #8446]. Please include the string:
[cpan #8446]
in the subject line of all future correspondence about this issue. To do so,
you may reply to this message.
Thank you,
bug-FFI@rt.cpan.org
-------------------------------------------------------------------------
Perl application failed to deallocate memory that was used by structure if pointer to the structure was used as an argument by C function from FFI library. Attachement has test suit that exposes this problem.
Problem was exposed when FFI version 1.01 was used with Perl v5.8.2 built for i686-linux-64int on system:
Linux storageconcentrator.stonefly.com 2.4.18-10sfn-4 #2 Mon May 24 16:19:34 PDT 2004 i686 unknown.
Problem was exposed in cases when structure was allocated by function "make_struct" from module C::Include and when the same structure was allocated by module Convert::Binary::C.