diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-20 23:09:13 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-20 23:09:13 +0200 |
commit | c5695a5f6d613bf54ced44a848622825bff17b46 (patch) | |
tree | fc1d602652cfe63ef4104337f089e67e905c2fc6 /degesch.c | |
parent | 5ad6581c5720710d3dc16092d9bee2ca2c3473b0 (diff) | |
download | xK-c5695a5f6d613bf54ced44a848622825bff17b46.tar.gz xK-c5695a5f6d613bf54ced44a848622825bff17b46.tar.xz xK-c5695a5f6d613bf54ced44a848622825bff17b46.zip |
degesch: fix SIGSEGV on /quit
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |