[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Nikki and the Robots – where is it stuck?

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-]: (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

Reply to: