Skip Menu |

This queue is for tickets about the File-LibMagic CPAN distribution.

Report information
The Basics
Id: 93512
Status: resolved
Priority: 0/
Queue: File-LibMagic

People
Owner: Nobody in particular
Requestors: a.zaitsev [...] drweb.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.01



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.