layout fix + fix potential memory leak

This commit is contained in:
norrarvid 2012-06-18 08:23:36 +02:00
parent 7c512ba042
commit 9cad7e8563

View File

@ -1337,6 +1337,7 @@ mod_exit(struct mod* mod)
if(mod->inst == NULL)
{
LLOGLN(0, ("mod_exit - null pointer for inst:"));
g_free(mod);
return 0 ;
}
freerdp_disconnect(mod->inst);