Browse Source
Delete the message when getMessageQueueToGUI() returns null. The message is allocated in updateDeviceSetLists(), but was only transferred to the GUI message queue when the queue existed. Without a queue, the message was never released, causing a resource leak reported by Coverity. Keep the existing behavior of pushing the message to the GUI queue when available, and explicitly delete it otherwise. Signed-off-by: Robin Getz <rgetz503@gmail.com>chirpmodem-v8.1.0
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue