degesch: fix SIGSEGV on /quit

This commit is contained in:
Přemysl Eric Janouch 2015-04-20 23:09:13 +02:00
parent 5ad6581c57
commit c5695a5f6d

View File

@ -532,7 +532,8 @@ app_context_free (struct app_context *self)
str_map_free (&self->irc_channels);
str_map_free (&self->irc_buffer_map);
user_unref (self->irc_user);
if (self->irc_user)
user_unref (self->irc_user);
free (self->irc_user_mode);
free (self->irc_user_host);