RALOVICH wrote: >>From 2049767654da280b24754b8807757f88a5f3fd73 Mon Sep 17 00:00:00 2001 > From: =?utf-8?q?RALOVICH,=20Krist=C3=B3f?= <tad...@freemail.hu> > Date: Tue, 30 Jun 2009 00:46:36 +0200 > Subject: [PATCH 3/3] glx: plug a leak > > Swrast was missing a free for the culmination of driConcatConfigs. > --- > src/glx/x11/drisw_glx.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/src/glx/x11/drisw_glx.c b/src/glx/x11/drisw_glx.c > index b843ce4..63dc9dd 100644 > --- a/src/glx/x11/drisw_glx.c > +++ b/src/glx/x11/drisw_glx.c > @@ -401,6 +401,8 @@ driCreateScreen(__GLXscreenConfigs * psc, int screen, > psc->configs = driConvertConfigs(psc->core, psc->configs, driver_configs); > psc->visuals = driConvertConfigs(psc->core, psc->visuals, driver_configs); > > + _mesa_free(driver_configs); > + > psp->destroyScreen = driDestroyScreen; > psp->createContext = driCreateContext; > psp->createDrawable = driCreateDrawable;
Thanks. I'll commit this but with free() instead of _mesa_free() since we shouldn't be calling Mesa functions from the GLX code. -Brian ------------------------------------------------------------------------------ _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev