[server,shadow] properly clean up encoder

This commit is contained in:
akallabeth
2025-01-12 09:07:05 +01:00
parent 720d48583a
commit 06402de801

View File

@@ -504,7 +504,7 @@ rdpShadowEncoder* shadow_encoder_new(rdpShadowClient* client)
if (shadow_encoder_init(encoder) < 0)
{
free(encoder);
shadow_encoder_free(encoder);
return NULL;
}