==29546== ==29546== HEAP SUMMARY: ==29546== in use at exit: 299,198 bytes in 9,944 blocks ==29546== total heap usage: 87,977 allocs, 78,033 frees, 61,000,431 bytes allocated ==29546== ==29546== 16 bytes in 1 blocks are definitely lost in loss record 14 of 106 ==29546== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29546== by 0x461FE3: msSmallMalloc (maputil.c:2121) ==29546== by 0x55C26E: wkbReadLine (mappostgis.c:308) ==29546== by 0x55C67C: wkbConvPolygonToShape (mappostgis.c:425) ==29546== by 0x55CBE8: wkbConvGeometryToShape (mappostgis.c:621) ==29546== by 0x55CB37: wkbConvCollectionToShape (mappostgis.c:594) ==29546== by 0x55CBFD: wkbConvGeometryToShape (mappostgis.c:622) ==29546== by 0x56066A: msPostGISReadShape (mappostgis.c:2058) ==29546== by 0x56141E: msPostGISLayerNextShape (mappostgis.c:2521) ==29546== by 0x48708F: msLayerNextShape (maplayer.c:164) ==29546== by 0x55A2CC: msDrawRasterLayerLow (mapraster.c:502) ==29546== by 0x48EFAA: msDrawRasterLayerPlugin (mapdraw.c:1223) ==29546== ==29546== 8,032 bytes in 502 blocks are definitely lost in loss record 98 of 106 ==29546== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29546== by 0x461FE3: msSmallMalloc (maputil.c:2121) ==29546== by 0x55C26E: wkbReadLine (mappostgis.c:308) ==29546== by 0x55C604: wkbConvLineStringToShape (mappostgis.c:400) ==29546== by 0x55CC83: wkbConvGeometryToShape (mappostgis.c:632) ==29546== by 0x55CB37: wkbConvCollectionToShape (mappostgis.c:594) ==29546== by 0x55CCBF: wkbConvGeometryToShape (mappostgis.c:635) ==29546== by 0x560647: msPostGISReadShape (mappostgis.c:2053) ==29546== by 0x56141E: msPostGISLayerNextShape (mappostgis.c:2521) ==29546== by 0x48708F: msLayerNextShape (maplayer.c:164) ==29546== by 0x48D7C2: msDrawVectorLayer (mapdraw.c:840) ==29546== by 0x48CA21: msDrawLayer (mapdraw.c:730) ==29546== ==29546== 37,888 bytes in 2,368 blocks are definitely lost in loss record 104 of 106 ==29546== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29546== by 0x461FE3: msSmallMalloc (maputil.c:2121) ==29546== by 0x55C26E: wkbReadLine (mappostgis.c:308) ==29546== by 0x55C604: wkbConvLineStringToShape (mappostgis.c:400) ==29546== by 0x55CC83: wkbConvGeometryToShape (mappostgis.c:632) ==29546== by 0x560647: msPostGISReadShape (mappostgis.c:2053) ==29546== by 0x56141E: msPostGISLayerNextShape (mappostgis.c:2521) ==29546== by 0x48708F: msLayerNextShape (maplayer.c:164) ==29546== by 0x48D7C2: msDrawVectorLayer (mapdraw.c:840) ==29546== by 0x48CA21: msDrawLayer (mapdraw.c:730) ==29546== by 0x48BA1A: msDrawMap (mapdraw.c:422) ==29546== by 0x44202D: main (shp2img.c:298) ==29546== ==29546== 110,672 bytes in 6,917 blocks are definitely lost in loss record 105 of 106 ==29546== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29546== by 0x461FE3: msSmallMalloc (maputil.c:2121) ==29546== by 0x55C26E: wkbReadLine (mappostgis.c:308) ==29546== by 0x55C67C: wkbConvPolygonToShape (mappostgis.c:425) ==29546== by 0x55CBE8: wkbConvGeometryToShape (mappostgis.c:621) ==29546== by 0x55CB37: wkbConvCollectionToShape (mappostgis.c:594) ==29546== by 0x55CBFD: wkbConvGeometryToShape (mappostgis.c:622) ==29546== by 0x56066A: msPostGISReadShape (mappostgis.c:2058) ==29546== by 0x56141E: msPostGISLayerNextShape (mappostgis.c:2521) ==29546== by 0x48708F: msLayerNextShape (maplayer.c:164) ==29546== by 0x48D7C2: msDrawVectorLayer (mapdraw.c:840) ==29546== by 0x48CA21: msDrawLayer (mapdraw.c:730) ==29546== ==29546== 141,963 (240 direct, 141,723 indirect) bytes in 3 blocks are definitely lost in loss record 106 of 106 ==29546== at 0x4A05140: calloc (vg_replace_malloc.c:418) ==29546== by 0x587571: agg2CreateImage(int, int, outputFormatObj*, colorObj*) (mapagg.cpp:644) ==29546== by 0x45FCA6: msImageCreate (maputil.c:1434) ==29546== by 0x48C919: msDrawLayer (mapdraw.c:703) ==29546== by 0x48BA1A: msDrawMap (mapdraw.c:422) ==29546== by 0x44202D: main (shp2img.c:298) ==29546== ==29546== LEAK SUMMARY: ==29546== definitely lost: 156,848 bytes in 9,791 blocks ==29546== indirectly lost: 141,723 bytes in 138 blocks ==29546== possibly lost: 0 bytes in 0 blocks ==29546== still reachable: 627 bytes in 15 blocks ==29546== suppressed: 0 bytes in 0 blocks ==29546== Reachable blocks (those to which a pointer was found) are not shown. ==29546== To see them, rerun with: --leak-check=full --show-reachable=yes ==29546== ==29546== For counts of detected and suppressed errors, rerun with: -v ==29546== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 4 from 4)