diff --git a/gfx/gfx_widgets.c b/gfx/gfx_widgets.c index 4c77adf6e35..f6f9e06f4d0 100644 --- a/gfx/gfx_widgets.c +++ b/gfx/gfx_widgets.c @@ -243,6 +243,7 @@ void gfx_widgets_msg_queue_push( if (task) { + len = strlen(task->title); title = msg_widget->msg = strdup(task->title); msg_widget->msg_new = strdup(title); msg_widget->msg_len = len;