mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
graphics/pdcurs34: Fix a compile warning
Fix a compile warning when CONFIG_PDCURSES_MULTITHREAD=n.
This commit is contained in:
parent
95aece012a
commit
0dc9be9596
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue