Commit 702bd70595a7b19afc48a1f784a6505be68469d4

Ramsay Jones 2010-06-01T19:39:24

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>

1
2
3
4
5
6
7
8
9
10
11
12
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);
 }