On Sat, Jul 18, 2009 at 22:44, RALOVICH,
Kristóf<[email protected]> wrote:
> On Sat, Jul 18, 2009 at 21:46, RALOVICH,
> Kristóf<[email protected]> wrote:
>> On Sat, Jul 18, 2009 at 20:49, RALOVICH,
>> Kristóf<[email protected]> wrote:
>>> On Fri, Jul 10, 2009 at 19:56, Eric Anholt<[email protected]> wrote:
>>>> On Fri, 2009-07-10 at 11:24 +0200, RALOVICH, Kristóf wrote:
>>>>> Please don't applies these right now. I am in the process of revising
>>>>> them since there might be a simpler approach to the problem.
>>>>
>>>> Excellent, I'd been delaying reviewing it because it looked more
>>>> complicated than I hoped :)
>>>>
>>>> --
>>>> Eric Anholt
>>>> [email protected]                         [email protected]
>>>>
>>>>
>>>>
>>>
>>> I have broken up the patches into smaller, independent ones. Attached
>>> to my following mails.
>>>
>>> Thanks,
>>> Kristof
>>>
>>
>> Please review!
>>
>> Thanks,
>> Kristof
>>
>
> Same as the previous, for dri swrast.
>
> Please review!
>
> Thanks,
> Kristof
>

Same as the previous two, but for old dri. This patch is only compile
tested because I do not have a DRI1 setup.

Please review!

Thanks,
Kristof
From 5743d2cf643d34f96fdcdfdd0ec81d594718f996 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?RALOVICH,=20Krist=C3=B3f?= <[email protected]>
Date: Sat, 18 Jul 2009 23:57:34 +0200
Subject: [PATCH] glx: Release unrefrenced DRI configs in DRI path.

---
 src/glx/x11/dri_glx.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c
index ac2eb05..b95fa21 100644
--- a/src/glx/x11/dri_glx.c
+++ b/src/glx/x11/dri_glx.c
@@ -418,6 +418,9 @@ CallCreateNewScreen(Display *dpy, int scrn, __GLXscreenConfigs *psc,
     psc->configs = driConvertConfigs(psc->core, psc->configs, driver_configs);
     psc->visuals = driConvertConfigs(psc->core, psc->visuals, driver_configs);
 
+    driDestroyUnmatchedConfigs(psc->core, psc->visuals, psc->configs, driver_configs);
+    free(driver_configs);
+
     /* Visuals with depth != screen depth are subject to automatic compositing
      * in the X server, so DRI1 can't render to them properly. Mark them as
      * non-conformant to prevent apps from picking them up accidentally.
-- 
1.6.3.3

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to