history: fix memory leak

This commit is contained in:
2024-04-14 12:28:27 +02:00
parent e7ea706157
commit df2129a1bb
3 changed files with 7 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ bool CLI_deinit()
FIFOBuffChar_delete(FIFO);
#ifdef HISTORY
History_deinit(History);
History_deinit(History, true);
#endif
return true;
}