https://bugs.freedesktop.org/show_bug.cgi?id=31128
Summary: Memory leak on multiple OSMesaMakeCurrent calls Product: Mesa Version: 7.8 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Other AssignedTo: mesa-dev@lists.freedesktop.org ReportedBy: dawhiteho...@hotmail.co.uk This is related to 29824. We're using version 7.8.2. Our product makes a call to OSMesaCreateContextExt and then multiple calls to OSMesaMakeCurrent. The fix for 29824 fixed the assert we were getting but OSMesaMakeCurrent is leaking memory for every call after the first because it allocates a new renderbuffer. At line 1331: osmesa->rb = new_osmesa_renderbuffer(&osmesa->mesa, osmesa->format, type); however in this situation osmesa->rb may already have been allocated. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev