Commit 33eda5da authored by Mohammed Sadiq's avatar Mohammed Sadiq
Browse files

window: Initialize chat with NULL

otherwise 'chat' may point to an invalid memory location when used
parent c59f4d1d
Pipeline #66796 passed with stages
in 16 minutes and 58 seconds
......@@ -272,7 +272,7 @@ static void
chatty_window_open_item (ChattyWindow *self,
ChattyItem *item)
{
ChattyChat *chat;
ChattyChat *chat = NULL;
g_assert (CHATTY_IS_WINDOW (self));
g_assert (CHATTY_IS_ITEM (item));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment