From 5d4c8ec5e04eb15969dac1abb9ea3a254eb98d44 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Sat, 13 Sep 2008 14:22:15 -0600 Subject: remove invalid XDestroyWindow() call --- progs/xdemos/glxinfo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'progs/xdemos') diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c index 6cf127afa2..445d3ea94b 100644 --- a/progs/xdemos/glxinfo.c +++ b/progs/xdemos/glxinfo.c @@ -447,7 +447,6 @@ print_screen_info(Display *dpy, int scrnum, Bool allowDirect, GLboolean limits) if (!ctx) { fprintf(stderr, "Error: glXCreateContext failed\n"); XFree(visinfo); - XDestroyWindow(dpy, win); return; } -- cgit v1.2.3