mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-29 15:54:48 -05:00
Remove another pointless null check, this time of inst->back in the
function which has just dereferenced it to get the exit code. [originally from svn r9907]
This commit is contained in:
parent
8201e7d22d
commit
916cd3f0cd
@ -1379,13 +1379,11 @@ static gint idle_exit_func(gpointer data)
|
|||||||
ldisc_free(inst->ldisc);
|
ldisc_free(inst->ldisc);
|
||||||
inst->ldisc = NULL;
|
inst->ldisc = NULL;
|
||||||
}
|
}
|
||||||
if (inst->back) {
|
inst->back->free(inst->backhandle);
|
||||||
inst->back->free(inst->backhandle);
|
inst->backhandle = NULL;
|
||||||
inst->backhandle = NULL;
|
inst->back = NULL;
|
||||||
inst->back = NULL;
|
term_provide_resize_fn(inst->term, NULL, NULL);
|
||||||
term_provide_resize_fn(inst->term, NULL, NULL);
|
update_specials_menu(inst);
|
||||||
update_specials_menu(inst);
|
|
||||||
}
|
|
||||||
gtk_widget_set_sensitive(inst->restartitem, TRUE);
|
gtk_widget_set_sensitive(inst->restartitem, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user