diff options
Diffstat (limited to 'src/core/channels.c')
-rw-r--r-- | src/core/channels.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/channels.c b/src/core/channels.c index f3c9f215..57288f7e 100644 --- a/src/core/channels.c +++ b/src/core/channels.c @@ -75,6 +75,8 @@ void channel_destroy(CHANNEL_REC *channel) g_free_not_null(channel->key); g_free(channel->mode); g_free(channel->name); + + channel->type = 0; g_free(channel); } |