Hello, Can someone explain what happens now? Do we get notified of an official fix?
Regards, John. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Unsworth Sent: 24 June 2007 21:27 To: 'ARSperl User Discussion' Subject: Re: [Arsperl-users] ars_CreateEntry crashing on Windows We have fixed this by the following change to mallocnn in support.c. /* malloc that will never return null */ void * mallocnn(int s) { #ifdef malloc #undef malloc #endif void *m = malloc(s ? s : 1); if (!m) croak("can't malloc"); memset(m, 0, s ? s : 1); return m; } The Perl malloc macro is undefined and so the platform malloc() is used instead. All memory allocation for the structures then uses the platform memory manager and the call to FreeARFieldValueList() works correctly. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users