diff --git a/frontend/menu/disp/shared.h b/frontend/menu/disp/shared.h index 6a870d2168..7f76285b7f 100644 --- a/frontend/menu/disp/shared.h +++ b/frontend/menu/disp/shared.h @@ -134,6 +134,7 @@ static void disp_set_label(unsigned *w, unsigned type, unsigned i, const char *path, char *path_buf, size_t path_buf_size) { + *type_str = '\0'; *w = 19; if (!strcmp(label, "performance_counters"))