diff options
author | Evan Huus <eapache@gmail.com> | 2014-05-05 09:03:46 -0400 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-05-05 13:08:44 +0000 |
commit | 93619389eafb1db086cdb3d718e447f34f7b4e52 (patch) | |
tree | 5c1c39b615a1aafea599556700ea5536c6b37910 /epan/wmem | |
parent | a0b76c994c1bf3fe42cd22048e1245410ae23a66 (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.c | 2 |
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); |