Opened 20 years ago

Closed 20 years ago

#757 closed defect (fixed)

cgiRequestObj memory leak

Reported by: dmorissette Owned by: mapserverbugs
Priority: high Milestone:
Component: MapServer C Library Version: 4.3
Severity: normal Keywords:
Cc:

Description

A new cgiRequestObj and msAllocCgiObj() method have been created in cgiutil.c
r1.12 (2003-09-19), but no corresponding free() function has been implemented or
called anywhere, so the members of this object are simply leaked when a
cgiRequestObj is allocated inside msAllocMapServObj().

Change History (2)

comment:1 by dmorissette, 20 years ago

Status: newassigned
Looking into this one now.

comment:2 by dmorissette, 20 years ago

Resolution: fixed
Status: assignedclosed
Fixed in 4.3 CVS and verified with Valgrind.

The problem is probably still present in 4.2.x, but I won't backport it since
it's a minor leak... unless someone really needs this fixed badly.
Note: See TracTickets for help on using tickets.