From 45f4e8842e3dae9d8be2a38769a57a524fdc335f Mon Sep 17 00:00:00 2001 From: "RALOVICH, Kristóf" Date: Thu, 23 Jul 2009 17:05:59 +0200 Subject: glx: assign per screen driver configs (DRISW) --- src/glx/x11/drisw_glx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glx') diff --git a/src/glx/x11/drisw_glx.c b/src/glx/x11/drisw_glx.c index 1c229dde900..15e15866582 100644 --- a/src/glx/x11/drisw_glx.c +++ b/src/glx/x11/drisw_glx.c @@ -401,7 +401,7 @@ driCreateScreen(__GLXscreenConfigs * psc, int screen, psc->configs = driConvertConfigs(psc->core, psc->configs, driver_configs); psc->visuals = driConvertConfigs(psc->core, psc->visuals, driver_configs); - free(driver_configs); + psc->driver_configs = driver_configs; psp->destroyScreen = driDestroyScreen; psp->createContext = driCreateContext; -- cgit v1.2.3