FWIW: results of cppcheck on dmd sources

Walter Bright newshound2 at digitalmars.com
Tue Jun 19 14:14:10 PDT 2012


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.


More information about the Digitalmars-d mailing list