diff options
| author | YaoBing Xiao <xiaoyaobing@uniontech.com> | 2025-06-05 13:46:06 +0800 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2025-06-08 21:10:25 +0200 |
| commit | f4a33dcab56c595bc8f923f4b8653814c4da4ed5 (patch) | |
| tree | 3dc67f79a539cf604c9e863890228d71b03c62fe /include/util.h | |
| parent | 8174ff2fe2b7dea3bf9f0830c7d745c7e199d894 (diff) | |
server: fix socket path memory leak
The socket path allocated with strdup() in server_init() was
not being freed in server_fini().
Remove const qualifier and add proper cleanup.
(cherry picked from commit 9fb9e9f7d555ae7504b8ae53250020797d70e887)
Diffstat (limited to 'include/util.h')
0 files changed, 0 insertions, 0 deletions
