pidgin/plugins/ticker/ticker.c

changeset 40139
13cfb1168f42
parent 40137
016690872c6c
child 40140
0ce616f8d0ec
--- a/pidgin/plugins/ticker/ticker.c	Mon Nov 04 01:02:13 2019 +0300
+++ b/pidgin/plugins/ticker/ticker.c	Mon Nov 04 01:03:02 2019 +0300
@@ -189,6 +189,8 @@
 }
 
 static void ticker_data_free(TickerData *td) {
+	g_return_if_fail(td != NULL);
+
 	if (td->timeout != 0)
 		g_source_remove(td->timeout);
 	g_free(td);

mercurial