wireshark/epan/wmem
Michael Mann e23676c999 wmem: Ensure callbacks are initialized and not accidentally unregistered
Start the "callback register ID" at 1, so that zeroed out callback IDs
are not found during unregister.

Change-Id: I1d7d70f53d89c40e07d1637e1e195dd027855ed3
Reviewed-on: https://code.wireshark.org/review/20385
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Evan Huus <eapache@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
2017-03-05 09:05:10 +00:00
..
CMakeLists.txt cmake: make WERROR_COMMON_FLAGS a normal string 2016-09-30 20:08:02 +00:00
Makefile.am Use correct relative path. 2016-07-30 20:51:00 +00:00
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 Remove checkAPI warnings from wmem. 2016-08-01 04:21:22 +00:00
wmem_core.h
wmem_interval_tree.c Remove checkAPI warnings from wmem. 2016-08-01 04:21:22 +00:00
wmem_interval_tree.h
wmem_list.c wmem_list: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang 2017-02-10 15:33:34 +00:00
wmem_list.h wmem_list: add wmem_list_insert_sorted. 2017-02-08 12:44:26 +00:00
wmem_map.c Add wmem_map_get_keys. 2017-02-09 22:03:10 +00:00
wmem_map.h Add wmem_map_get_keys. 2017-02-09 22:03:10 +00:00
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 Add wmem_tree_count. 2017-03-04 21:53:25 +00:00
wmem_tree-int.h
wmem_tree.c wmem: Ensure callbacks are initialized and not accidentally unregistered 2017-03-05 09:05:10 +00:00
wmem_tree.h Add wmem_tree_destroy 2017-03-05 03:39:00 +00:00
wmem_user_cb.c wmem: Ensure callbacks are initialized and not accidentally unregistered 2017-03-05 09:05:10 +00:00
wmem_user_cb.h
wmem_user_cb_int.h