upower/tools
Kate Hsuan 7c05c1bc44 tools: up-tool: Fix a leak by freeing GMainLoop using GLib auto clean up
- Move the GMainLoop creation to the code path of the monitor function.
- Quit GMainLoop when receiving a signal.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Security Scanner <scanner@automated>
2026-06-02 16:44:38 +08:00
..
meson.build build: Clean up include_directories usage 2021-09-06 14:06:40 +02:00
up-tool.c tools: up-tool: Fix a leak by freeing GMainLoop using GLib auto clean up 2026-06-02 16:44:38 +08:00