Fix a memory leak shown by valgrind Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Andreas Ericsson <ae@op5.se>
diff --git a/src/revobject.c b/src/revobject.c
index 5130f23..caa749d 100644
--- a/src/revobject.c
+++ b/src/revobject.c
@@ -167,6 +167,7 @@ void git_revpool_table_free(git_revpool_table *table)
}
}
+ free(table->nodes);
free(table);
}