diff options
| author | Patrick Steinhardt <ps@pks.im> | 2018-01-09 14:52:34 +0000 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2018-06-22 09:47:41 +0200 |
| commit | e1e90dccb252dc92490ad620d98c581636df0adf (patch) | |
| tree | 089a219064df980b9b061b55f90e2e289e0d860a /tests/diff/blob.c | |
| parent | 83b5f161facf117681df47cbeeb13b95dc3ea9c5 (diff) | |
| download | libgit2-e1e90dccb252dc92490ad620d98c581636df0adf.tar.gz | |
config_file: avoid free'ing OOM buffers
Buffers which ran out of memory will never have any memory attached to
them. As such, it is not necessary to call `git_buf_free` if the buffer
is out of memory.
Diffstat (limited to 'tests/diff/blob.c')
0 files changed, 0 insertions, 0 deletions
