[Hamlib-developer] [Hamlib/Hamlib] 813f21: 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:53:18
|
Branch: refs/heads/Hamlib-4.7 Home: https://github.com/Hamlib/Hamlib Commit: 813f210979ef6cf4f8ce0a33a2b37c77d10d0756 https://github.com/Hamlib/Hamlib/commit/813f210979ef6cf4f8ce0a33a2b37c77d10d0756 Author: George Baltz N3GB <Geo...@gm...> Date: 2025-12-13 (Sat, 13 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. (cherry picked from commit 08a013b87b07272ceadf6f4bd37251d26c7ef22a) Commit: b7790198465d9aad7ac90d64eeb8cb27dea9c60b https://github.com/Hamlib/Hamlib/commit/b7790198465d9aad7ac90d64eeb8cb27dea9c60b Author: George Baltz N3GB <Geo...@gm...> Date: 2025-12-13 (Sat, 13 Dec 2025) Changed paths: M tests/rigctltcp.c Log Message: ----------- Fix the same leak in rigctltcp.c (cherry picked from commit 018c86997b264ee0abc997f3b049105a5b8bc9a1) Missed one (cherry picked from commit 1cf8d03e130ebeb6553f4943a6508849911e0615) Compare: https://github.com/Hamlib/Hamlib/compare/8488fa21ac58...b7790198465d To unsubscribe from these emails, change your notification settings at https://github.com/Hamlib/Hamlib/settings/notifications |