Tue Mar 04 06:28:10 2014a.zaitsev [...] drweb.com - Ticket created
Subject:
typo in _mime_handle() method
Date:
Tue, 04 Mar 2014 15:27:57 +0400
To:
bug-File-LibMagic [...] rt.cpan.org
From:
"A.Zaitsev" <a.zaitsev [...] drweb.com>
Hello!
There is a typo in _mime_handle() method.
Instead of "|return| |$self||->{magic_handle}| ..." there must be
"|return| |$self||->{mime_handle}| ..."
In DESTROY object will try to close mime_handle, but not magic_handle,
so this typo can lead to memory leaks.
Regards,
Alexander.
Sun May 04 21:39:23 2014DROLSKY [...] cpan.org - Status changed from 'new' to 'resolved'
Sun May 04 21:39:24 2014DROLSKY [...] cpan.org - Fixed in 1.01 added