From 2985bb8c4d2935579b6f33d616fd644b7e69b2eb Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 12 Jul 2006 14:55:31 +0000 Subject: fix a segfault occuring on some boxes in monitor-get-edid-using-vbe, when using try-in-console (was committed in CVS instead of SVN) --- vbe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vbe.c b/vbe.c index c228f24..34914bc 100644 --- a/vbe.c +++ b/vbe.c @@ -294,10 +294,10 @@ int get_edid(char *edid) (box_is_xbox() || vbe_check_vbe_info()) && vbe_get_edid_info(edid); - FreeInt10(); #ifdef LRMI if (!ok) ok = get_edid__old(edid); #endif + FreeInt10(); } else if (getuid() != 0) fprintf(stderr, "you must be root to run this program\n"); -- cgit v1.2.1