[patch] resource leakage in KJS

Harri Porten porten at froglogic.com
Thu Mar 9 06:25:22 GMT 2006


yOn Wed, 8 Mar 2006, Germain Garand wrote:

> When inline statements are repeteadly evaluated the effect rapidly becomes
> quite bad - and IIUC the pollution seems process wide.
>
> So does attached patch looks OK or should that be fixed elsewhere?

Looks good. But could be simplified to use

  if (ai->interp == interp)
      return;

instead of break'ing first, no?

Harri.





More information about the kfm-devel mailing list