• Stefan Dösinger's avatar
    ddrawex: Don't leak surfaces. · 28850ae5
    Stefan Dösinger authored
    dds_get_outer AddRefs the inner surface when it creates the wrapper
    surface. The wrapper releases only one reference when it is destroyed,
    leaking one of the two. AddRefing in dds_get_outer makes sense because
    this is also used by e.g. GetAttachedSurface, where it creates a new
    wrapper for surfaces ddrawex didn't know about yet.
    28850ae5
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.in Loading commit data...
ddraw.c Loading commit data...
ddrawex.idl Loading commit data...
ddrawex.spec Loading commit data...
ddrawex_private.h Loading commit data...
main.c Loading commit data...
surface.c Loading commit data...