fixed memory leak in table unpack code; added Valgrind suppression file
[public/netxms.git] / tests / test-libnetxms / test-libnetxms.cpp
index 925d6bd..f8dfb1d 100644 (file)
@@ -629,6 +629,9 @@ static void TestTable()
    AssertEquals(table2->getNumRows(), table->getNumRows());
    AssertEquals(table2->getAsInt(10, 1), table->getAsInt(10, 1));
    EndTest(GetCurrentTimeMs() - start);
+
+   delete table;
+   delete table2;
 }
 
 /**