diff options
Diffstat (limited to 'src/refdb.c')
-rw-r--r-- | src/refdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/refdb.c b/src/refdb.c index 359842e44..6da409aac 100644 --- a/src/refdb.c +++ b/src/refdb.c @@ -89,6 +89,7 @@ int git_refdb_compress(git_refdb *db) void git_refdb__free(git_refdb *db) { refdb_free_backend(db); + git__memset(db, 0, sizeof(*db)); git__free(db); } |