1. 03 Jan, 2013 10 commits
  2. 02 Jan, 2013 6 commits
  3. 29 Dec, 2012 2 commits
  4. 28 Dec, 2012 5 commits
    • Merge pull request #1176 from arrbee/fix-iter-memleak · 3d4064a2
      Alternative fix for iterator memory leak
      Vicent Martí committed
    • Merge pull request #1171 from csware/fix-compilation-vs2012 · 645e67e8
      Fixed compilation with =>VS2010
      Vicent Martí committed
    • Fixed compilation with VS >= 2010 · 46c2c1d5
      Starting with VS2010 MS ships a stdint.h.
      
      Signed-off-by: Sven Strickroth <email@cs-ware.de>
      Sven Strickroth committed
    • Invalid ref name normalization leaked memory · 3865f7f6
      When normalizing a reference name, if there is an error because
      the name is invalid, then the memory allocated for storing the
      name could be leaked if the caller was not careful and assumed
      that the error return code meant that no allocation had occurred.
      
      This fixes that by explicitly deallocating the reference name
      buffer if there is an error in normalizing the name.
      Russell Belfer committed
    • Make spoolandsort a pushable iterator behavior · f616a36b
      An earlier change to `git_diff_from_iterators` introduced a
      memory leak where the allocated spoolandsort iterator was not
      returned to the caller and thus not freed.
      
      One proposal changes all iterator APIs to use git_iterator** so
      we can reallocate the iterator at will, but that seems unexpected.
      This commit makes it so that an iterator can be changed in place.
      The callbacks are isolated in a separate structure and a pointer
      to that structure can be reassigned by the spoolandsort extension.
      
      This means that spoolandsort doesn't create a new iterator; it
      just allocates a new block of callbacks (along with space for its
      own extra data) and swaps that into the iterator.
      
      Additionally, since spoolandsort is only needed to switch the
      case sensitivity of an iterator, this simplifies the API to only
      take the ignore_case boolean and to be a no-op if the iterator
      already matches the requested case sensitivity.
      Russell Belfer committed
  5. 27 Dec, 2012 3 commits
  6. 26 Dec, 2012 2 commits
  7. 24 Dec, 2012 6 commits
  8. 22 Dec, 2012 1 commit
  9. 21 Dec, 2012 5 commits