[CMake] CPack is memory leaking

David Cole david.cole at kitware.com
Thu Apr 17 12:13:36 EDT 2008


Not anymore.....

http://public.kitware.com/cgi-bin/viewcvs.cgi/Source/CPack/cpack.cxx?root=CMake&r1=1.42&r2=1.43

Thanks, Mathieu.


Dave


On Thu, Apr 17, 2008 at 5:08 AM, Mathieu Malaterre <
mathieu.malaterre at gmail.com> wrote:

> ==31752== 55,457 (272 direct, 55,185 indirect) bytes in 1 blocks are
> definitely lost in loss record 10 of 18
> ==31752==    at 0x4C22809: operator new(unsigned long)
> (vg_replace_malloc.c:230)
> ==31752==    by 0x59641F: cmGlobalGenerator::CreateLocalGenerator()
> (cmGlobalGenerator.cxx:1223)
> ==31752==    by 0x55DCB2: main (cpack.cxx:225)
> ==31752==
>
>
> In cpack.cxx, line 225, there is :
>
>  cmLocalGenerator* cmlg = cmgg.CreateLocalGenerator();
>
> which is never deleted.
>
> Thanks,
>
> --
> Mathieu
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080417/77d06943/attachment.htm>


More information about the CMake mailing list