• Show log

    Commit

  • Hash : 859ed5dd
    Author : Patrick Steinhardt
    Date : 2016-02-23T09:54:26

    common: introduce GITERR_CHECK_ALLOC_BUF We commonly have to check if a git_buf has been allocated correctly or if we ran out of memory. Introduce a new macro similar to `GITERR_CHECK_ALLOC` which checks if we ran OOM and if so returns an error. Provide a `#nodef` for Coverity to mark the error case as an abort path.