static void drdynvc_process_terminate(rdpSvcPlugin* plugin) { drdynvcPlugin* drdynvc = (drdynvcPlugin*) plugin; DEBUG_DVC("terminating"); if (!drdynvc) return; if (drdynvc->channel_mgr) { dvcman_free(drdynvc->channel_mgr); drdynvc->channel_mgr = NULL; } svc_plugin_terminate(plugin); free(drdynvc); }
static void cliprdr_process_terminate(rdpSvcPlugin* plugin) { svc_plugin_terminate(plugin); free(plugin); }