diff options
author | Leo C | 2018-08-20 03:11:20 +0200 |
---|---|---|
committer | Leo C | 2018-08-20 03:11:20 +0200 |
commit | 209025e847108189669989a3715667aae4f17b54 (patch) | |
tree | 2ece7eb30fe1f51058605d6f6dd657db32a56adb /avr/cmd_fat.c | |
parent | f766ff54545eab2b2d5dde4b51f4183390b48453 (diff) | |
download | z180-stamp-209025e847108189669989a3715667aae4f17b54.zip |
Reduce static RAM usage
Diffstat (limited to 'avr/cmd_fat.c')
-rw-r--r-- | avr/cmd_fat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/avr/cmd_fat.c b/avr/cmd_fat.c index 60102ed..c1d3770 100644 --- a/avr/cmd_fat.c +++ b/avr/cmd_fat.c @@ -131,7 +131,6 @@ command_ret_t do_pwd(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, int argc buf = (char *) malloc(BUFFER_SIZE); if (buf == NULL) { printf_P(PSTR("pwd: Out of Memory!\n")); - free(buf); return CMD_RET_FAILURE; } |