Browse Source

Fix mem leak in test.

scossu 1 year ago
parent
commit
04f32a567b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      test/test_graph.c

+ 2 - 0
test/test_graph.c

@@ -282,6 +282,8 @@ _graph_txn (LSUP_StoreType type)
     LSUP_graph_free (gr);
     if (type != LSUP_STORE_HTABLE) LSUP_store_free (store);
 
+    free_triples (trp); // gr copied data.
+
     return 0;
 }