Ticket #1554 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

CPLFinder memory leak if called out of order.

Reported by: brucedechant Assigned to: 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

cpl_findfile.cpp (7.9 kB) - added by brucedechant on 04/03/07 13:06:54.
Updated file

Change History

04/03/07 13:06:54 changed by brucedechant

  • attachment cpl_findfile.cpp added.

Updated file

04/03/07 13:52:44 changed by warmerdam

  • keywords set to memory leak.
  • status changed from new to closed.
  • summary changed from Memory leak to CPLFinder memory leak if called out of order..
  • resolution set to fixed.
  • milestone set to 1.4.1.

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!