Commit 8e177b2b by Bryan Woods

Fixing dangling pointers in git_mempack_reset

git_mempack_reset was leaving free'd pointers in the oidmap.
parent 6c21211c
......@@ -154,6 +154,9 @@ void git_mempack_reset(git_odb_backend *_backend)
});
git_array_clear(db->commits);
git_oidmap_free(db->objects);
db->objects = git_oidmap_alloc();
}
static void impl__free(git_odb_backend *_backend)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment