ifix memory leak of blob object - stagit-gopher - A git gopher frontend. (mirror) Err bitreich.org 70 hgit clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ URL:git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ bitreich.org 70 1Log /scm/stagit-gopher/log.gph bitreich.org 70 1Files /scm/stagit-gopher/files.gph bitreich.org 70 1Refs /scm/stagit-gopher/refs.gph bitreich.org 70 1Tags /scm/stagit-gopher/tag bitreich.org 70 1README /scm/stagit-gopher/file/README.gph bitreich.org 70 1LICENSE /scm/stagit-gopher/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 7a515945dd3e335644ba5167f2a44e3fde3fa18b /scm/stagit-gopher/commit/7a515945dd3e335644ba5167f2a44e3fde3fa18b.gph bitreich.org 70 1parent e862768a1f396da6d013570941faefeced61351f /scm/stagit-gopher/commit/e862768a1f396da6d013570941faefeced61351f.gph bitreich.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org bitreich.org 70 iDate: Sun, 12 Mar 2017 19:50:12 +0100 Err bitreich.org 70 i Err bitreich.org 70 ifix memory leak of blob object Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M stagit.c | 1 + Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 1 insertion(+), 0 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/stagit.c b/stagit.c /scm/stagit-gopher/file/stagit.c.gph bitreich.org 70 i@@ -839,6 +839,7 @@ writefilestree(FILE *fp, git_tree *tree, const char *path) Err bitreich.org 70 i else Err bitreich.org 70 i fprintf(fp, "%juB", (uintmax_t)filesize); Err bitreich.org 70 i fputs("\n", fp); Err bitreich.org 70 i+ git_object_free(obj); Err bitreich.org 70 i } else if (!git_submodule_lookup(&module, repo, entryname)) { Err bitreich.org 70 i fprintf(fp, "m---------", Err bitreich.org 70 i relpath); Err bitreich.org 70 .