Opened 17 years ago

Closed 17 years ago

#2199 closed defect (fixed)

memeory leak with labepath object

Reported by: assefa Owned by: assefa
Priority: normal Milestone: 5.0 release
Component: MapServer C Library Version:
Severity: normal Keywords:
Cc: dmorissette

Description

It seems that the labepath object of the labelCacheMemberObj is never freed accumulating in a substantial memory leak when lots of text are involved.

The fix from what I can see is to add the free in function msFreeLabelCacheSlot

if (cacheslot->labels[i].labelpath)

msFreeLabelPathObj(cacheslot->labels[i].labelpath);

hopefully that would be it.

I will do few tests before applying fix.

Change History (1)

comment:1 by assefa, 17 years ago

Resolution: fixed
Status: newclosed

fix commited in r6451

Note: See TracTickets for help on using tickets.