[Kde-perl] Massive PerlQt memory leakage

Marius Kjeldahl marius at kjeldahl.net
Tue Jul 5 12:00:23 CEST 2005


Gary Greene wrote:
> I can confirm this as Germain sent me a patch for it a little over a year ago 
> when I packaged it for another distribution. The patch is attached.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> --- PerlQt/Qt.xs~       2004-06-01 10:12:35.000000000 +0100
> +++ PerlQt/Qt.xs        2004-06-01 10:12:35.000000000 +0100
> @@ -152,6 +152,7 @@
>         SvREFCNT_dec(keysv);
>         return 0;
>      }
> +    SvREFCNT_dec(keysv);
>      return *svp;
>  }

Patch looks golden and seems to solve memory leakage at my end. I would 
suggest somebody with a clue puts out a new release with it included, to 
save others from struggling with leakage as we had to go through. 
Hopefully, Google will also pick this up. Not sure why I never found any 
references to it when I tried (and I searched a lot).

Thanks,

Marius K.


More information about the Kde-perl mailing list