URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e23676c999d9926f984c4076c18a1060acb59ff4
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
e23676c by Michael Mann (mmann78@xxxxxxxxxxxx):
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@xxxxxxxxxxxx>
Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Actions performed:
from b7d6cca Add wmem_tree_destroy
adds e23676c wmem: Ensure callbacks are initialized and not accidentally unregistered
Summary of changes:
epan/wmem/wmem_tree.c | 9 +++------
epan/wmem/wmem_user_cb.c | 2 +-
2 files changed, 4 insertions(+), 7 deletions(-)