On 08/16/2012 01:37 AM, Paul Wise wrote: > On Tue, Aug 14, 2012 at 11:43 AM, Paul Wise wrote: > >>>> [/tmp/buildd/nikki-0.5.1.2/src/cpp/qtwrapper.cpp:48]: (error) Memory >>>> leak: argcPtr >>> >>> How do you generate that warning? >> >> cppcheck 1.55. > > Having looked at the code, it seems like this is a false positive > because the pointer is passed from C++ code back into Haskell code, > which cppcheck is not looking at. So just ignore this one. > No, the pointer wasn't passed to a Haskell function. I switched to using global variables and documented the issue much better in the code.
Attachment:
signature.asc
Description: OpenPGP digital signature