[PATCH 0/1] MR7865: windows.media.mediacontrol: Fix a memory leak.
From: Mohamad Al-Jaf <mohamadaljaf(a)gmail.com> --- dlls/windows.media.mediacontrol/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/windows.media.mediacontrol/main.c b/dlls/windows.media.mediacontrol/main.c index 18d7d3ce5f9..e8c74ed6ed3 100644 --- a/dlls/windows.media.mediacontrol/main.c +++ b/dlls/windows.media.mediacontrol/main.c @@ -178,6 +178,7 @@ static ULONG WINAPI music_properties_Release( IMusicDisplayProperties *iface ) if (!ref) { + WindowsDeleteString( impl->album_title ); WindowsDeleteString( impl->artist ); WindowsDeleteString( impl->title ); free( impl ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7865
This merge request was approved by Rémi Bernon. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7865
participants (3)
-
Mohamad Al-Jaf -
Mohamad Al-Jaf (@maljaf) -
Rémi Bernon