Changes between Initial Version and Version 2 of Ticket #2996


Ignore:
Timestamp:
May 4, 2009, 6:09:26 AM (15 years ago)
Author:
dmorissette
Comment:

This specific one is a one-time leak of 32 bytes to set a OGR Error handler. I'll check if we could unset this in msCleanup() but I don't think this one is serious and I wouldn't worry about it too much.

However, I see that there were a total of "1,089 bytes in 34 blocks" in use at exit... so what about the other 33 blocks of leaked memory? Were they in the MapServer code or in your own program?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2996

    • Property Status newassigned
    • Property Cc warmerdam added
    • Property Component MapServer C LibraryOGR Support
    • Property Milestone6.0 release
    • Property Owner changed from sdlime to dmorissette
  • Ticket #2996 – Description

    initial v2  
    11there have memory leak in function msOGRFileOpen.
    2 
     2{{{
    33==4650==
    44==4650== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 5 from 2)
     
    1717==4650==    by 0x40CF99: QueryInArea(map_obj*, double, double, std::string, std::string, int) (testmap_5x.cpp:19)
    1818==4650==    by 0x40D56A: main (testmap_5x.cpp:109)
     19}}}