remove invalid XDestroyWindow() call
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>
Sat, 13 Sep 2008 20:22:15 +0000 (14:22 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 13 Sep 2008 20:22:15 +0000 (14:22 -0600)
progs/xdemos/glxinfo.c

index 6cf127afa2ffe599ed2390f6a25ba2ad583f2cda..445d3ea94b6d851d9a7de65a17242c039155cbb1 100644 (file)
@@ -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;
    }