commit 58c811c51491d5fcdd876688e147ce6b96f755c0 from: Stefan Sperling date: Fri Jul 13 08:40:56 2018 UTC remove a wrong free() in got_blame() commit - e8f89a814e6180abf6601099bf2917ffb3d221c9 commit + 58c811c51491d5fcdd876688e147ce6b96f755c0 blob - 0b6ffc0c329fdc7d6769da9949b9fc5e52c977af blob + bcd2b1e65d6936d4bee64713411dcad802eaabd5 --- lib/blame.c +++ lib/blame.c @@ -427,7 +427,7 @@ got_blame(const char *path, struct got_object_id *star } err = got_object_id_str(&id_str, id); - free(id); + /* Do not free id; It points into blame->lines. */ if (err) { free(line); break;