graphics/pdcurs34: Fix a compile warning
Fix a compile warning when CONFIG_PDCURSES_MULTITHREAD=n.
This commit is contained in:
parent
95aece012a
commit
0dc9be9596
@ -207,7 +207,9 @@ static int PDC_scr_open_term(int argc, char **argv)
|
||||
{
|
||||
/* Free the memory ... can't open input */
|
||||
|
||||
#ifdef CONFIG_PDCURSES_MULTITHREAD
|
||||
PDC_ctx_free();
|
||||
#endif
|
||||
free(termscreen);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user