]> git.ipfire.org Git - thirdparty/git.git/commit - khash.h
khash: factor out kh_release_*
authorRené Scharfe <l.s.r@web.de>
Thu, 4 Oct 2018 15:10:54 +0000 (17:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Oct 2018 18:12:13 +0000 (11:12 -0700)
commit9249ca26aca3ae3f21f812593c7a5498736ae29a
treeee63b8fcf9317cec229b2901af4bf19b74f93bcf
parent22a164651114738c723c4459140e1e5330491467
khash: factor out kh_release_*

Add a function for releasing the khash-internal allocations, but not the
khash structure itself.  It can be used with on-stack khash structs.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
khash.h