graphics/pdcurs34: Fix a compile warning

Fix a compile warning when CONFIG_PDCURSES_MULTITHREAD=n.
This commit is contained in:
SPRESENSE 2021-07-04 09:13:29 +09:00 committed by Xiang Xiao
parent 95aece012a
commit 0dc9be9596

View File

@ -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