June 19, 2012 Re: FWIW: results of cppcheck on dmd sources | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | On 6/19/2012 1:41 PM, Trass3r wrote:
>>> This is news to me. Has the GC been re-enabled?
>>
>> No, it's just that cppcheck doesn't (and cannot) detect global memory leaks -
>> only very localized ones.
>
> btw, what is the stance on adding some manual memory freeing, at least for
> obvious local leaks?
I think it's fine, but it has to be done carefully to avoid bugs.
|
Copyright © 1999-2021 by the D Language Foundation