1. 24 Feb, 2016 1 commit
  2. 22 Feb, 2016 4 commits
  3. 18 Feb, 2016 2 commits
  4. 17 Feb, 2016 2 commits
    • Hugo Beauzée-Luyssen's avatar
      qt4: playlist: Fix leak · f2684ca0
      Hugo Beauzée-Luyssen authored
      f2684ca0
    • Filip Roséen's avatar
      nothrow new in cases where it maches intent · 1bed74fe
      Filip Roséen authored
      I wrote a hackish script to locate instances where new can throw
      but where the original author has assumed that it will return
      nullptr when there is a memory allocation problem.
      
      In short, cases such as `ptr = new T; if (ptr) ...` has now
      been changed to `ptr = new (std::nothrow) T; if (ptr) ...`.
      
      Since a throwing `new` will always yield a non-nullptr pointer,
      code that follows similar patterns to the previous example are
      therefor redundant.
      
      Example (from modules/access/dshow/filter.cpp):
      
          *ppEnum = new CaptureEnumMediaTypes( p_input, p_pin, this );
      
          if( *ppEnum == NULL )
            return E_OUTOFMEMORY; // unreachable, new will never return NULL
      
      Fixed:
      
          *ppEnum = new (std::nothrow) CaptureEnumMediaTypes( p_input, p_pin, this );
      
          if( *ppEnum == NULL )
            return E_OUTOFMEMORY;
      Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
      1bed74fe
  5. 16 Feb, 2016 1 commit
  6. 12 Feb, 2016 1 commit
  7. 05 Feb, 2016 1 commit
  8. 04 Feb, 2016 9 commits
  9. 02 Feb, 2016 2 commits
  10. 01 Feb, 2016 1 commit
  11. 31 Jan, 2016 1 commit
  12. 28 Jan, 2016 2 commits
  13. 16 Jan, 2016 1 commit
  14. 14 Jan, 2016 1 commit
  15. 09 Jan, 2016 3 commits
  16. 08 Jan, 2016 1 commit
  17. 07 Jan, 2016 2 commits
  18. 06 Jan, 2016 4 commits
  19. 02 Jan, 2016 1 commit