Procházet zdrojové kódy

Fix mem leak in test.

scossu před 2 roky
rodič
revize
04f32a567b
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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;
 }