Fixed memory leak in rdpei

This commit is contained in:
Armin Novak 2020-05-22 10:59:06 +02:00 committed by akallabeth
parent 8fb6336a40
commit 539e3e9fc5

View File

@ -604,6 +604,7 @@ static UINT rdpei_plugin_terminated(IWTSPlugin* pPlugin)
IFCALL(mgr->DestroyListener, mgr, rdpei->listener);
}
free(rdpei->listener_callback);
free(rdpei->contactPoints);
free(rdpei->context);
free(rdpei);
return CHANNEL_RC_OK;