• Ulrich Sibiller's avatar
    glxext.c: fix another memory leak · bffdacc4
    Ulrich Sibiller authored
    ==10226== 3,337 bytes in 1 blocks are definitely lost in loss record 295 of 307
    ==10226==    at 0x483577F: malloc (vg_replace_malloc.c:299)
    ==10226==    by 0x6281DB9: strdup (strdup.c:42)
    ==10226==    by 0x2ABA9E: __glXClientInfo (glxcmds.c:2170)
    ==10226==    by 0x17CA3E: __glXDispatch (NXglxext.c:128)
    ==10226==    by 0x16EE77: Dispatch (NXdispatch.c:476)
    ==10226==    by 0x14DCE0: main (main.c:353)
    
    There's no point in trying to free cl->* after memset(0).
    
    This one is a bug that is found identically in xorg upstream and has
    only been fixed during rework of the whole client resource freeing
    stuff. So we fix it in glxext.c.
    bffdacc4
Name
Last commit
Last update
..
GL Loading commit data...
Xext Loading commit data...
Xi Loading commit data...
composite Loading commit data...
damageext Loading commit data...
dbe Loading commit data...
dix Loading commit data...
fb Loading commit data...
hw/nxagent Loading commit data...
include Loading commit data...
mi Loading commit data...
miext Loading commit data...
os Loading commit data...
randr Loading commit data...
record Loading commit data...
render Loading commit data...
xfixes Loading commit data...
xkb Loading commit data...
.gitignore Loading commit data...
Imakefile Loading commit data...
code-versions.txt Loading commit data...
fix-miregion Loading commit data...
fix-miregion-private Loading commit data...
fix-region Loading commit data...