[Bug 31503] Adobe Audition CS6 - Crash during UI paint at startup

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 10 06:00:46 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=31503

Jan Boysen <jan at lugfl.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
    Regression SHA1|                            |5923e32ef1b10f741e20d2feba1
                   |                            |a1a60d67fa6b7

--- Comment #1 from Jan Boysen <jan at lugfl.de> 2012-09-10 06:00:46 CDT ---
I did some regression testing now and tracked the crash back to
5923e32ef1b10f741e20d2feba1a1a60d67fa6b7

The causing part is the folowing added HeapFree(). Commenting the line solves
the crash for me, so maybe an additional check on the data structure is needed
before freeing it.

@@ -215,6 +216,7 @@ BOOL WINAPI wglDeleteContext(HGLRC hglrc)
     }
     if (hglrc == NtCurrentTeb()->glCurrentRC) wglMakeCurrent( 0, 0 );
     ptr->funcs->wgl.p_wglDeleteContext( ptr->u.context->drv_ctx );
+    HeapFree( GetProcessHeap(), 0, ptr->u.context->extensions );
     HeapFree( GetProcessHeap(), 0, ptr->u.context );
     free_handle_ptr( ptr );
     return TRUE;

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list