diff options
author | James Booth <boothj5@gmail.com> | 2014-09-30 00:27:35 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-09-30 00:27:35 +0100 |
commit | b7088363e66d0ee2e00c807b81a5abbdc0c5275f (patch) | |
tree | 380828bd7ff9a7bbbe043c21d2bd8eac43790159 /src/ui/console.c | |
parent | 4f7feedb655bc575c6041ef8b19a48342ce346b1 (diff) | |
parent | 780a3f1cc7a91cbc02b040ecf4773a702855e684 (diff) | |
download | profani-tty-b7088363e66d0ee2e00c807b81a5abbdc0c5275f.tar.gz |
Merge branch 'master' into muc_roles
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 737c87ac..a34ff71d 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -207,7 +207,6 @@ _cons_check_version(gboolean not_available_msg) if (release_is_new(latest_release)) { win_save_vprint(console, '-', NULL, 0, 0, "", "A new version of Profanity is available: %s", latest_release); win_save_println(console, "Check <http://www.profanity.im> for details."); - free(latest_release); win_save_println(console, ""); } else { if (not_available_msg) { @@ -218,6 +217,7 @@ _cons_check_version(gboolean not_available_msg) cons_alert(); } + free(latest_release); } } |