Fixing memory leak bug ...
authorHamed <hamed.gorjiara@gmail.com>
Mon, 11 Sep 2017 23:15:53 +0000 (16:15 -0700)
committerHamed <hamed.gorjiara@gmail.com>
Mon, 11 Sep 2017 23:15:53 +0000 (16:15 -0700)
src/AST/table.cc

index 828cd79..838a53a 100644 (file)
@@ -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;
 }