Opened 17 years ago

Closed 17 years ago

#1554 closed defect (fixed)

CPLFinder memory leak if called out of order.

Reported by: brucedechant Owned by: warmerdam
Priority: normal Milestone: 1.4.1
Component: default Version: 1.4.0
Severity: normal Keywords: memory leak
Cc:

Description

There is a memory leak inside the CPLFinderClean() API method.

Attachments (1)

cpl_findfile.cpp (7.9 KB ) - added by brucedechant 17 years ago.
Updated file

Download all attachments as: .zip

Change History (2)

by brucedechant, 17 years ago

Attachment: cpl_findfile.cpp added

Updated file

comment:1 by warmerdam, 17 years ago

Keywords: memory leak added
Milestone: 1.4.1
Resolution: fixed
Status: newclosed
Summary: Memory leakCPLFinder memory leak if called out of order.

Bruce,

I believe the issue here is if CPLFinderClean() gets called after other services (possibly mutex or config option related?) have been cleaned up. I wasn't able to reproduce the problem today, but I have observed this in the past. I have committed your change in trunk, and 1.4 branch.

r11186 and r11187

Thanks!

Note: See TracTickets for help on using tickets.