aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-05-05 09:03:46 -0400
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2014-05-05 13:08:44 +0000
commit93619389eafb1db086cdb3d718e447f34f7b4e52 (patch)
tree5c1c39b615a1aafea599556700ea5536c6b37910 /epan/wmem
parenta0b76c994c1bf3fe42cd22048e1245410ae23a66 (diff)
Fix dead assignment found by clang in test code
Change-Id: Ie78769bfd8034f6c2ee7d9e26a209d650cedb98d Reviewed-on: https://code.wireshark.org/review/1507 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/wmem')
-rw-r--r--epan/wmem/wmem_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wmem/wmem_test.c b/epan/wmem/wmem_test.c
index 0fa1a31ca4..ab9e3fda71 100644
--- a/epan/wmem/wmem_test.c
+++ b/epan/wmem/wmem_test.c
@@ -245,7 +245,7 @@ wmem_test_allocator_jumbo(wmem_allocator_type_t type, wmem_verify_func verify)
ptr = (char*)wmem_alloc0(allocator, 4*1024*1024);
if (verify) (*verify)(allocator);
- wmem_free_all(allocator);
+ wmem_free(allocator, ptr);
wmem_gc(allocator);
if (verify) (*verify)(allocator);