소스 검색

Fix mem leak in test.

scossu 2 년 전
부모
커밋
04f32a567b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;
 }