mirror of
https://github.com/reactos/wine.git
synced 2025-02-10 22:35:56 +00:00
![Stefan Dösinger](/assets/img/avatar_default.png)
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.