diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 3cd6759278269d837b444749192fb841521cfcbd..a92783e480e66b60755dc0dcc3052d2d75d17fe1 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c @@ -1228,6 +1228,8 @@ static void fbcon_deinit(struct vc_data *vc) finished: fbcon_free_font(p, free_font); + if (free_font) + vc->vc_font.data = NULL; if (!con_is_bound(&fb_con)) fbcon_exit();