Sfoglia il codice sorgente

Fix mem leak in test.

scossu 2 anni fa
parent
commit
04f32a567b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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;
 }