diff options
author | Panagiotis Papadakos <papadako@csd.uoc.gr> | 2007-02-05 10:34:55 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-05 10:35:52 +0100 |
commit | 3805ccf02015e8127748e6f53ae9d7419ae3f633 (patch) | |
tree | dbfd0bf8fd3e4b3be5c34d71860d582a3b79981f /src/glx | |
parent | 296eeb882fa9fd7528f33ed307f87171dff7ee1c (diff) |
break if we removed driver from Drivers list in driDestroyDisplay
Else we read memory we just released, in for statement.
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/x11/dri_glx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c index 6f944d7d609..0649358ecc8 100644 --- a/src/glx/x11/dri_glx.c +++ b/src/glx/x11/dri_glx.c @@ -399,6 +399,7 @@ static void driDestroyDisplay(Display *dpy, void *private) Drivers = driver->next; Xfree(driver); + break; } } |