diff --git a/src/applets/tasks.c b/src/applets/tasks.c index 06490ff..ad50e22 100644 --- a/src/applets/tasks.c +++ b/src/applets/tasks.c @@ -290,7 +290,10 @@ static Tasks * _tasks_init(PanelAppletHelper * helper, GtkWidget ** widget) GtkOrientation orientation; if((tasks = malloc(sizeof(*tasks))) == NULL) + { + error_set("%s: %s", applet.name, strerror(errno)); return NULL; + } tasks->helper = helper; tasks->tasks = NULL; tasks->tasks_cnt = 0;