commit 14437fb1f1eaee02d6eadf828de2e8fb8109c8a2 from: Stefan Sperling date: Fri Jul 13 08:04:13 2018 UTC in tog blame, set corret pointer to NULL after object close commit - 297794893791829a471c1c98443e07269550ed06 commit + 14437fb1f1eaee02d6eadf828de2e8fb8109c8a2 blob - 883c138847c11a22bc4a38479cc6b052ff964509 blob + 231812e09e567ce04ffa4b1e057bb395206ba3f7 --- got/Makefile +++ got/Makefile @@ -18,7 +18,7 @@ DEBUG = -O0 -g .endif CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable #CFLAGS += -DGOT_PACK_NO_MMAP -#CFLAGS += -DGOT_NO_OBJ_CACHE +CFLAGS += -DGOT_NO_OBJ_CACHE # For now, default to installing binary in ~/bin GROUP!=id -g -n blob - 922dbcd707b874d378087d240fc186b754332b02 blob + b96469641c543186d3fbadfc06f1dd4aa6b470f0 --- tog/Makefile +++ tog/Makefile @@ -18,7 +18,7 @@ DEBUG = -O0 -g .endif CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable #CFLAGS += -DGOT_PACK_NO_MMAP -#CFLAGS += -DGOT_NO_OBJ_CACHE +CFLAGS += -DGOT_NO_OBJ_CACHE # For now, default to installing binary in ~/bin GROUP!=id -g -n blob - e5ddd90a8ddb1e384021dc703771a81631057789 blob + 74bb49fac161045a2927070e84422df0a900fa61 --- tog/tog.c +++ tog/tog.c @@ -1599,7 +1599,7 @@ show_blame_view(const char *path, struct got_object_id obj = NULL; if (pobj) { got_object_close(pobj); - obj = NULL; + pobj = NULL; } if (id == NULL) { err = got_error_from_errno();