about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2019-10-14 00:19:08 +0300
committerDmitry Podgorny <pasis.ua@gmail.com>2019-10-14 00:19:08 +0300
commit6d11cd2db3bd22b9ddac0b4a59c610939100694e (patch)
tree2a0ef8556810691d9aa9af5fe50f7972000f809a /tests
parentffd74229faae6842f0e8bd50d894333d3de86d98 (diff)
downloadprofani-tty-6d11cd2db3bd22b9ddac0b4a59c610939100694e.tar.gz
Fix memory leak in cmd_join()
room is either argv[0] or allocated by GString. We have to free memory
in the 2nd case. Replace argv[0] with g_strdup(argv[0]) in order to
make unconditional g_free().
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions