summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-10-16 20:46:31 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-10-16 20:46:31 +0200
commit5f98f20c94345aea3f27e76cfca0ebbc52e6639f (patch)
tree388f2488a42d2ce3954b7832a39db39c792b4f1b /tests
parentf62f759c3db98044c2c05e01028a940ea5d6bb18 (diff)
downloadweechat-5f98f20c94345aea3f27e76cfca0ebbc52e6639f.zip
tests: fix memory leak in hashtable tests
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/core/test-hashtable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/core/test-hashtable.cpp b/tests/unit/core/test-hashtable.cpp
index 49259e481..e92ea328f 100644
--- a/tests/unit/core/test-hashtable.cpp
+++ b/tests/unit/core/test-hashtable.cpp
@@ -266,6 +266,7 @@ TEST(Hashtable, SetGetRemove)
/* free hashtable */
hashtable_free (hashtable);
+ hashtable_free (hashtable2);
}
/*