author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 26 May 2005 01:27:14 +0000 (18:27 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 26 May 2005 01:27:14 +0000 (18:27 -0700) | ||
commit | 3ff1fbbb9446e03050047a67247151887ee59e70 | |
tree | 82360cb0096cfa15327f914964de694d335ec7a6 | tree | snapshot |
parent | e871b649a3f4ede26eb98c7d46df7acdc7ecbe81 | commit | diff |
commit: save the commit buffer off when parsing a commit
object.
A fair number of the users potentially want to look at the
commit objects more closely, and if you worry about memory
leaking in certain applications, you can always do a
free(commit->buffer);
commit->buffer = NULL;
by hand after parsing them.
object.
A fair number of the users potentially want to look at the
commit objects more closely, and if you worry about memory
leaking in certain applications, you can always do a
free(commit->buffer);
commit->buffer = NULL;
by hand after parsing them.
commit.c | diff | blob | history | |
commit.h | diff | blob | history |