[phobos] [dlang/phobos] f02c9a: fix AllocatorList.allocate weird behavior

GitHub via phobos phobos at puremagic.com
Tue Aug 30 03:51:33 PDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/dlang/phobos
  Commit: f02c9a36888a961f3126bcec3a520d67bd7c8a79
      https://github.com/dlang/phobos/commit/f02c9a36888a961f3126bcec3a520d67bd7c8a79
  Author: Jack Applegame <japplegame at gmail.com>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M std/experimental/allocator/building_blocks/allocator_list.d

  Log Message:
  -----------
  fix AllocatorList.allocate weird behavior

Wrong `return` position. That says it all. Creating unnecessary allocators, memory leaks and so on.


  Commit: d07cb58d3e592ead66f9a6e8d0f3c1bf36cd5ff2
      https://github.com/dlang/phobos/commit/d07cb58d3e592ead66f9a6e8d0f3c1bf36cd5ff2
  Author: Jack Applegame <japplegame at gmail.com>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M std/experimental/allocator/building_blocks/allocator_list.d

  Log Message:
  -----------
  add unittest


  Commit: e56ac3620a2c75f3469da7d312869477d7f0b482
      https://github.com/dlang/phobos/commit/e56ac3620a2c75f3469da7d312869477d7f0b482
  Author: Jack Applegame <japplegame at gmail.com>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M std/experimental/allocator/building_blocks/allocator_list.d

  Log Message:
  -----------
  modify unittest to increase test coverage


  Commit: b291600a0aa472aad0521614c5da34bef3a8f429
      https://github.com/dlang/phobos/commit/b291600a0aa472aad0521614c5da34bef3a8f429
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2016-08-30 (Tue, 30 Aug 2016)

  Changed paths:
    M std/experimental/allocator/building_blocks/allocator_list.d

  Log Message:
  -----------
  Merge pull request #4758 from japplegame/patch-2

fix AllocatorList.allocate weird behavior


Compare: https://github.com/dlang/phobos/compare/6394458fc3ee...b291600a0aa4


More information about the phobos mailing list