[dmd-internals] [D-Programming-Language/dmd] 8b804c: DMD will now properly free the memory of a pointer...

GitHub via dmd-internals dmd-internals at puremagic.com
Fri Aug 1 09:09:04 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 8b804c5aad464499521d3e9f0e889f60d71fd5a7
      https://github.com/D-Programming-Language/dmd/commit/8b804c5aad464499521d3e9f0e889f60d71fd5a7
  Author: Orvid King <blah38621 at gmail.com>
  Date:   2014-07-19 (Sat, 19 Jul 2014)

  Changed paths:
    M src/backend/rtlsym.h
    M src/e2ir.c
    M src/expression.c
    M test/runnable/sdtor.d

  Log Message:
  -----------
  DMD will now properly free the memory of a pointer to a struct with a destructor defined when the delete operator is used.

I also fixed the runnable test for static dtors to not allocate in the destructor.


  Commit: b543bee59048f73d0c226d3708858109ebbcaa9a
      https://github.com/D-Programming-Language/dmd/commit/b543bee59048f73d0c226d3708858109ebbcaa9a
  Author: Rainer Schuetze <r.sagitario at gmx.de>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M src/backend/rtlsym.h
    M src/e2ir.c
    M src/expression.c
    M test/runnable/sdtor.d

  Log Message:
  -----------
  Merge pull request #3727 from Orvid/structDestructors

Fix Issue 13195 - Delete calls destructor but doesn't free


Compare: https://github.com/D-Programming-Language/dmd/compare/58306b8ccc08...b543bee59048


More information about the dmd-internals mailing list