in reply to Re^2: Event.pm memory leek ?
in thread Event.pm memory leek ?
Well, Event.xs shows that when signal is called, it does copying.
sv_mortalcopy mallocs. Since you are calling the signal handler from inside the signal handler, it never frees that memory. Simple solution: Don't call the signal handler from inside the signal handler._signal_signal(THIS, items == 2? sv_mortalcopy(ST(1)) : 0);
|
---|