MapServer / MapServer-import

3 stars 2 forks source link

memory leaks from rectObj.__str__ #903

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: sgillies@frii.com Date: 2004/09/27 - 00:43

==5727== 81 bytes in 1 blocks are possibly lost in loss record 50 of 78
==5727==    at 0x1B904A80: malloc (vg_replace_malloc.c:131)
==5727==    by 0x1B9DA4EF: strdup (in /lib/tls/libc-2.3.3.so)
==5727==    by 0x1BFB6A56: rectObj___str__ (mapscript_wrap.c:2520)
==5727==    by 0x1BFD8094: _wrap_rectObj___str__ (mapscript_wrap.c:20600)
==5727==    by 0x80EA40C: PyCFunction_Call (in /usr/bin/python)
==5727==    by 0x805B3B6: PyObject_Call (in /usr/bin/python)
==5727==    by 0x80AB92A: (within /usr/bin/python)
==5727==    by 0x80A93C7: (within /usr/bin/python)
==5727==    by 0x80A9B5D: PyEval_EvalCodeEx (in /usr/bin/python)
==5727==    by 0x80E9CA9: (within /usr/bin/python)
==5727==
tbonfort commented 12 years ago

Author: sgillies@frii.com Date: 2004/09/27 - 01:00

rectObj.toString() as well

==5750== 80 bytes in 1 blocks are possibly lost in loss record 56 of 105
==5750==    at 0x1B904A80: malloc (vg_replace_malloc.c:131)
==5750==    by 0x1B9DA4EF: strdup (in /lib/tls/libc-2.3.3.so)
==5750==    by 0x1BFB69D6: rectObj_toString (mapscript_wrap.c:2514)
==5750==    by 0x1BFD7FC4: _wrap_rectObj_toString (mapscript_wrap.c:20557)
==5750==    by 0x80EA40C: PyCFunction_Call (in /usr/bin/python)
==5750==    by 0x805B3B6: PyObject_Call (in /usr/bin/python)
==5750==    by 0x80AB92A: (within /usr/bin/python)
==5750==    by 0x80A93C7: (within /usr/bin/python)
==5750==    by 0x80A9B5D: PyEval_EvalCodeEx (in /usr/bin/python)
==5750==    by 0x80AB34B: (within /usr/bin/python)
=
tbonfort commented 12 years ago

Author: sgillies@frii.com Date: 2004/09/27 - 21:03

Closed.