Skip Menu |

This queue is for tickets about the User-getgrouplist CPAN distribution.

Report information
The Basics
Id: 90796
Status: resolved
Priority: 0/
Queue: User-getgrouplist

People
Owner: BASTIAN [...] cpan.org
Requestors: vpit [...] cpan.org
Cc:
AdminCc:

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



Subject: Memory leak
Hello, In the XS source of your module, I see that you never free your 'groups' variable. This will cause memory to be leaked at each successful call to getgrouplist(). You might also want to explain in the documentation how getgrouplist() differs from the magical variable $) (or from POSIX::getgroups()). Vincent
Hi, Am Mo 25. Nov 2013, 07:40:24, VPIT schrieb: Show quoted text
> In the XS source of your module, I see that you never free your > 'groups' variable. This will cause memory to be leaked at each > successful call to getgrouplist().
thanks a lot for your report. I just released v1.0.4 which should fix the issue. Seems I'm a better perl than C coder ;) I'll close the ticket for now. Feel free to re-open it if that solution does not work for you. Show quoted text
> You might also want to explain in the documentation how getgrouplist() > differs from the magical variable $) (or from POSIX::getgroups()).
Hm, the documentation fairly clearly says it interfaces the getgrouplist call; I'll leave that topic for the respective man pages for now. Thanks again Bastian