layout fix + fix potential memory leak

master
norrarvid 13 years ago
parent 7c512ba042
commit 9cad7e8563

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

Loading…
Cancel
Save