https://github.com/git/git
Revision 2cdf9509df66358f83a577caf83dc06e3161ec3c authored by Linus Torvalds on 11 January 2007, 20:25:16 UTC, committed by Junio C Hamano on 11 January 2007, 20:25:16 UTC
It is not used after getting written, and just is leaking every time
we write the index out.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 2a3a3c2
Raw File
Tip revision: 2cdf9509df66358f83a577caf83dc06e3161ec3c authored by Linus Torvalds on 11 January 2007, 20:25:16 UTC
write-cache: do not leak the serialized cache-tree data.
Tip revision: 2cdf950
strbuf.h
#ifndef STRBUF_H
#define STRBUF_H
struct strbuf {
	int alloc;
	int len;
	int eof;
	char *buf;
};

extern void strbuf_init(struct strbuf *);
extern void read_line(struct strbuf *, FILE *, int);

#endif /* STRBUF_H */
back to top