grep.c: remove implicit dependency on the_index
[gitweb.git] / builtin / commit-graph.c
index c7d0db5ab4b668618720eb30cffad904f0c57b14..0bf0c486575a8557b729658ce05be02d28a1a8b8 100644 (file)
@@ -115,6 +115,8 @@ static int graph_read(int argc, const char **argv)
                printf(" large_edges");
        printf("\n");
 
+       free_commit_graph(graph);
+
        return 0;
 }