Merge pull request #23 from ArvidNorr/disconnect
freerdp disconnect added in exit
This commit is contained in:
commit
3d9c81ef7b
@ -1379,7 +1379,13 @@ mod_exit(struct mod* mod)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(mod->inst == NULL)
|
||||
{
|
||||
LLOGLN(0, ("mod_exit - null pointer for inst:"));
|
||||
g_free(mod);
|
||||
return 0 ;
|
||||
}
|
||||
freerdp_disconnect(mod->inst);
|
||||
if ((mod->vmaj == 1) && (mod->vmin == 0) && (mod->vrev == 1))
|
||||
{
|
||||
/* this version has a bug with double free in freerdp_free */
|
||||
|
Loading…
Reference in New Issue
Block a user