wireshark/epan/wmem
Peter Wu f4be16aa45 wmem_tree: fix crash with wmem_tree_destroy and NULL scope
The function was documented for use with a NULL scope, but it actually
crashes since callbacks are not available for NULL scopes. git master
is unaffected, but the GTK+ protocol dialog in 2.4 and 2.6 do crash.

Bug: 14349
Change-Id: I54350e112192394797cf85eaac4f30194178d7c4
Fixes: v2.3.0rc0-2597-gb7d6cca4ae ("Add wmem_tree_destroy")
Reviewed-on: https://code.wireshark.org/review/30126
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-10-12 05:08:18 +00:00
..
CMakeLists.txt
wmem.h
wmem_allocator.h
wmem_allocator_block.c
wmem_allocator_block.h
wmem_allocator_block_fast.c
wmem_allocator_block_fast.h
wmem_allocator_simple.c
wmem_allocator_simple.h
wmem_allocator_strict.c
wmem_allocator_strict.h
wmem_array.c
wmem_array.h
wmem_core.c
wmem_core.h
wmem_interval_tree.c
wmem_interval_tree.h
wmem_list.c
wmem_list.h
wmem_map.c
wmem_map.h
wmem_map_int.h
wmem_miscutl.c
wmem_miscutl.h
wmem_queue.h
wmem_scopes.c
wmem_scopes.h
wmem_stack.c
wmem_stack.h
wmem_strbuf.c
wmem_strbuf.h
wmem_strutl.c
wmem_strutl.h
wmem_test.c
wmem_tree-int.h
wmem_tree.c
wmem_tree.h
wmem_user_cb.c
wmem_user_cb.h
wmem_user_cb_int.h