From: Anton Baskanov baskanov@gmail.com
--- dlls/dplayx/dplayx_messages.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/dplayx/dplayx_messages.c b/dlls/dplayx/dplayx_messages.c index 4ecee05d79e..0568a74cb3d 100644 --- a/dlls/dplayx/dplayx_messages.c +++ b/dlls/dplayx/dplayx_messages.c @@ -276,6 +276,7 @@ HRESULT DP_MSG_SendRequestPlayerId( IDirectPlayImpl *This, DWORD dwFlags, DPID *
if ( dwMsgSize < sizeof( DPMSG_NEWPLAYERIDREPLY ) ) { + free( msgHeader ); free( lpMsg ); return DPERR_GENERIC; }