diff options
| author | HiFiPhile <[email protected]> | 2024-05-09 18:00:52 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-05-09 18:00:52 +0200 |
| commit | 6c286e3b027a4873ba70961f48c52f61d3367187 (patch) | |
| tree | af1aa6892f5a0c5107bc9c8161d9084bcc915435 /lib/embedded-cli | |
| parent | 337d03d36883c5067d102900e6ce14e98ce3f8f0 (diff) | |
| parent | 63e64f374bf2023261bcf6733fdf53a73ccca6e6 (diff) | |
Merge branch 'master' into patch-5
Diffstat (limited to 'lib/embedded-cli')
| -rw-r--r-- | lib/embedded-cli/embedded_cli.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/embedded-cli/embedded_cli.h b/lib/embedded-cli/embedded_cli.h index 33354cd84..91c96f3a1 100644 --- a/lib/embedded-cli/embedded_cli.h +++ b/lib/embedded-cli/embedded_cli.h @@ -743,7 +743,7 @@ EmbeddedCli *embeddedCliNew(EmbeddedCliConfig *config) { bool allocated = false; if (config->cliBuffer == NULL) { - config->cliBuffer = (CLI_UINT *) malloc(totalSize); // malloc guarantees alignment. +// config->cliBuffer = (CLI_UINT *) malloc(totalSize); // malloc guarantees alignment. if (config->cliBuffer == NULL) return NULL; allocated = true; @@ -887,7 +887,7 @@ void embeddedCliFree(EmbeddedCli *cli) { PREPARE_IMPL(cli); if (IS_FLAG_SET(impl->flags, CLI_FLAG_ALLOCATED)) { // allocation is done in single call to malloc, so need only single free - free(cli); +// free(cli); } } |
