Ticket #2120 (closed defect: fixed)
Memory Leak in msSetup()
| Reported by: | woodbri | Owned by: | sdlime |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.0 release |
| Component: | MapServer C Library | Version: | 5.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In maputil.c, in msSetup() we call:
#ifdef USE_GD_FT
if (gdFontCacheSetup() != 0) {
return MS_FAILURE;
}
#endif
We need to add a corresponding block in msCleanup() to to free this like:
#ifdef USE_GD_FT
if (gdFontCacheShutdown() != 0) {
return MS_FAILURE;
}
#endif
Change History
Note: See
TracTickets for help on using
tickets.
