[Hamlib-developer] [Hamlib/Hamlib] 08a013: Fix memory leak in rigctld
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: GeoBaltz <no...@gi...> - 2025-12-13 17:41:52
|
Branch: refs/heads/master Home: https://github.com/Hamlib/Hamlib Commit: 08a013b87b07272ceadf6f4bd37251d26c7ef22a https://github.com/Hamlib/Hamlib/commit/08a013b87b07272ceadf6f4bd37251d26c7ef22a Author: George Baltz N3GB <Geo...@gm...> Date: 2025-12-10 (Wed, 10 Dec 2025) Changed paths: M tests/rigctl_parse.c M tests/rigctld.c Log Message: ----------- Fix memory leak in rigctld Just started playing with valgrind, and already We have a Winner! rigctld was leaking ~100 bytes every 5 seconds; rearrange code so arg is not allocated until it is needed and will be passed to the routine that will free() it. Also fix uninitialized variable warning. Commit: 018c86997b264ee0abc997f3b049105a5b8bc9a1 https://github.com/Hamlib/Hamlib/commit/018c86997b264ee0abc997f3b049105a5b8bc9a1 Author: George Baltz N3GB <Geo...@gm...> Date: 2025-12-10 (Wed, 10 Dec 2025) Changed paths: M tests/rigctltcp.c Log Message: ----------- Fix the same leak in rigctltcp.c Commit: 1cf8d03e130ebeb6553f4943a6508849911e0615 https://github.com/Hamlib/Hamlib/commit/1cf8d03e130ebeb6553f4943a6508849911e0615 Author: George Baltz N3GB <Geo...@gm...> Date: 2025-12-12 (Fri, 12 Dec 2025) Changed paths: M tests/rigctltcp.c Log Message: ----------- Missed one Compare: https://github.com/Hamlib/Hamlib/compare/bb39a8f73d07...1cf8d03e130e To unsubscribe from these emails, change your notification settings at https://github.com/Hamlib/Hamlib/settings/notifications |