From ea102bcfb85f805d57b873774dd4fb629d88c845 Mon Sep 17 00:00:00 2001 From: Hamed Date: Mon, 11 Sep 2017 16:15:53 -0700 Subject: [PATCH] Fixing memory leak bug ... --- src/AST/table.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AST/table.cc b/src/AST/table.cc index 828cd79..838a53a 100644 --- a/src/AST/table.cc +++ b/src/AST/table.cc @@ -93,6 +93,7 @@ void Table::serialize(Serializer* serializer){ serializer->mywrite(&entry->inputSize, sizeof(uint)); serializer->mywrite(entry->inputs, sizeof(uint64_t) * entry->inputSize); } + delete iterator; } -- 2.34.1