Browse Source

Fix mem leak in test.

scossu 2 năm trước cách đây
mục cha
commit
04f32a567b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;
 }