[Issue 17377] Empty D program is not valgrind clean

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 6 05:10:47 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=17377

Carsten Blüggel <chilli at posteo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |chilli at posteo.net
         Resolution|---                         |FIXED

--- Comment #2 from Carsten Blüggel <chilli at posteo.net> ---
Issue got fixed by https://github.com/dlang/druntime/pull/1857 or ?

$ dmd --version
DMD64 D Compiler v2.078.1
Copyright (c) 1999-2017 by The D Language Foundation written by Walter Bright

$ valgrind --leak-check=full ./test_17377
==13243== Memcheck, a memory error detector
==13243== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==13243== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==13243== Command: ./test_17377
==13243== 
==13243== 
==13243== HEAP SUMMARY:
==13243==     in use at exit: 0 bytes in 0 blocks
==13243==   total heap usage: 95 allocs, 95 frees, 49,028 bytes allocated
==13243== 
==13243== All heap blocks were freed -- no leaks are possible
==13243== 
==13243== For counts of detected and suppressed errors, rerun with: -v
==13243== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

--


More information about the Digitalmars-d-bugs mailing list