• Show log

    Commit

  • Hash : c77342ef
    Author : Russell Belfer
    Date : 2013-07-22T11:20:34

    Use pool for loose refdb string allocations
    
    Instead of using lots of strdup calls, this adds a memory pool to
    the loose refs iteration code and uses it for keeping track of the
    loose refs array.  Memory usage could probably be reduced even
    further by eliminating the vector and just scanning by adding the
    strlen of each ref, but that would be a more intrusive changes.
    
    This also updates the error handling to be more thorough about
    checking for failed allocations, etc.