https://github.com/git/git
Revision d78b7eb2d50bd1cf57d7f06c1b4bdd8e08057926 authored by Junio C Hamano on 22 March 2018, 21:24:12 UTC, committed by Junio C Hamano on 22 March 2018, 21:24:12 UTC
Plug recently introduced leaks in fsck.

* jt/fsck-code-cleanup:
  fsck: fix leak when traversing trees
2 parent s 34b9ec8 + ba3a08c
Raw File
Tip revision: d78b7eb2d50bd1cf57d7f06c1b4bdd8e08057926 authored by Junio C Hamano on 22 March 2018, 21:24:12 UTC
Merge branch 'jt/fsck-code-cleanup' into maint
Tip revision: d78b7eb
sha1-lookup.h
#ifndef SHA1_LOOKUP_H
#define SHA1_LOOKUP_H

typedef const unsigned char *sha1_access_fn(size_t index, void *table);

extern int sha1_pos(const unsigned char *sha1,
		    void *table,
		    size_t nr,
		    sha1_access_fn fn);
#endif
back to top