diff options
author | Dmitry Podgorny <pasis.ua@gmail.com> | 2019-10-14 00:19:08 +0300 |
---|---|---|
committer | Dmitry Podgorny <pasis.ua@gmail.com> | 2019-10-14 00:19:08 +0300 |
commit | 6d11cd2db3bd22b9ddac0b4a59c610939100694e (patch) | |
tree | 2a0ef8556810691d9aa9af5fe50f7972000f809a /tests | |
parent | ffd74229faae6842f0e8bd50d894333d3de86d98 (diff) | |
download | profani-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