summaryrefslogtreecommitdiff
path: root/src/pack-objects.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-05-31 14:09:58 -0700
committerRussell Belfer <rb@github.com>2013-05-31 14:09:58 -0700
commitf658dc433cae351e72b1c8b245724eafb43f5844 (patch)
tree025948ea3b6a30c41b44d86fe4655fbeda3d578c /src/pack-objects.c
parent17ef7dbce4e4eaa08ed7007b6d67f375759846a8 (diff)
downloadlibgit2-f658dc433cae351e72b1c8b245724eafb43f5844.tar.gz
Zero memory for major objects before freeing
By zeroing out the memory when we free larger objects (i.e. those that serve as collections of other data, such as repos, odb, refdb), I'm hoping that it will be easier for libgit2 bindings to find errors in their object management code.
Diffstat (limited to 'src/pack-objects.c')
0 files changed, 0 insertions, 0 deletions