Commit 902a8949 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

d3drm: Avoid using pointer value after free.

parent 164a4070
......@@ -210,8 +210,8 @@ static inline struct d3drm *impl_from_IDirect3DRM3(IDirect3DRM3 *iface)
static void d3drm_destroy(struct d3drm *d3drm)
{
heap_free(d3drm);
TRACE("d3drm object %p is being destroyed.\n", d3drm);
heap_free(d3drm);
}
static HRESULT WINAPI d3drm1_QueryInterface(IDirect3DRM *iface, REFIID riid, void **out)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment