diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-04-06 10:39:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 10:39:32 +0200 |
commit | 49057077b9396a16c600ddd61357a1816a94e791 (patch) | |
tree | e7a6c97cf5b6c5e3e57e88be52892576e8d6dfc8 /src/ui/console.c | |
parent | eb2165e0a4469a33d0ae2b3c7878b20dbb9d52c1 (diff) | |
parent | 42b6d78a703f33b3b38c1b973660b9abfbb801cd (diff) | |
download | profani-tty-49057077b9396a16c600ddd61357a1816a94e791.tar.gz |
Merge pull request #1299 from profanity-im/memleaks
Fix few memory leaks
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 6b35cead..4683f699 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -751,7 +751,7 @@ cons_show_disco_info(const char *jid, GSList *identities, GSList *features) identity_str = g_string_append(identity_str, identity->category); } cons_show(identity_str->str); - g_string_free(identity_str, FALSE); + g_string_free(identity_str, TRUE); identities = g_slist_next(identities); } |