1. Fredrik Lundh
  2. pil-2009-raclette
Issue #39 new

getfont can leak the memory used for filename

John Harvey
created an issue

the conversion of strings from python to c using the "et" conversion in PyArg_ParseTupleAndKeywords should have the converted strings freed http://docs.python.org/2/c-api/arg.html The attached patch should fix the problem. I have tested the fix in PILLOW but not in PIL itself but this shuld compile ok.

Comments (0)

  1. Log in to comment