bareos: master a863a248

Author Committer Branch Timestamp Parent
Alaa Eddine Elamri Andreas Rogge master 2022-02-21 14:58 master f0186eeb Pending
Changeset gtest: fix leaks related to message initialization and deletion

when initializing messages using InitMsg, message resources
are created in `message.cc` but not cleaned up afterwards.
One solution could be to provide the tests with a `TermMsg`
in order to cleanup, but it looks like all those `InitMsg`s
do not have any effect on the tests. So this commit will delete
all unnecessary occurrences of `InitMsg`
mod - core/src/tests/addresses_and_ports.cc Diff File
mod - core/src/tests/bsock_test_connection_setup.cc Diff File
mod - core/src/tests/catalog.cc Diff File
mod - core/src/tests/messages_resource.cc Diff File
mod - core/src/tests/run_on_incoming_connect_interval.cc Diff File
mod - core/src/tests/scheduler.cc Diff File
mod - core/src/tests/sd_backend.cc Diff File
mod - core/src/tests/sd_reservation.cc Diff File
mod - core/src/tests/test_bsock.cc Diff File
mod - core/src/tests/test_config_parser_console.cc Diff File
mod - core/src/tests/test_config_parser_dir.cc Diff File
mod - core/src/tests/test_config_parser_fd.cc Diff File
mod - core/src/tests/test_config_parser_sd.cc Diff File
mod - core/src/tests/test_dir_plugins.cc Diff File
mod - core/src/tests/test_fd_plugins.cc Diff File
mod - core/src/tests/test_sd_plugins.cc Diff File
mod - core/src/tools/bscrypto.cc Diff File