[channels,rdpsnd] fix memory leak

This commit is contained in:
akallabeth
2025-01-13 08:50:33 +01:00
parent de1e31c706
commit 93b8e17c91

View File

@@ -1560,7 +1560,7 @@ static rdpsndPlugin* allocatePlugin(void)
fail:
if (rdpsnd)
audio_format_free(rdpsnd->fixed_format);
audio_formats_free(rdpsnd->fixed_format, 1);
free(rdpsnd);
return NULL;
}