diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/messages-service.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index bc9ac1b..fd0bdcb 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -132,7 +132,8 @@ update_chat_section () g_menu_insert_section (menu, 0, NULL, chat_section); } - g_object_unref (first_section); + if (first_section != NULL) + g_object_unref (first_section); } static void |