Skip to content
Snippets Groups Projects
Commit c5efc3dc authored by deuce's avatar deuce
Browse files

Allow NULL for cterm at exit...

parent 0e93d967
Branches
Tags
No related merge requests found
......@@ -2538,6 +2538,7 @@ void cterm_end(struct cterminal *cterm)
{
int i;
if(cterm) {
cterm_closelog(cterm);
#ifdef CTERM_WITHOUT_CONIO
FREE_AND_NULL(BD->vmem);
......@@ -2561,3 +2562,4 @@ void cterm_end(struct cterminal *cterm)
}
free(cterm);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment