From b73898a02243e723b145858b1b08d305f8bb9a52 Mon Sep 17 00:00:00 2001 From: Caoruihong Date: Tue, 23 Nov 2021 07:15:06 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E5=A4=84=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E6=B3=84=E6=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Caoruihong --- components/shell/src/cmds/vfs_shellcmd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/shell/src/cmds/vfs_shellcmd.c b/components/shell/src/cmds/vfs_shellcmd.c index f5c065ba..7b6b4a75 100755 --- a/components/shell/src/cmds/vfs_shellcmd.c +++ b/components/shell/src/cmds/vfs_shellcmd.c @@ -278,6 +278,7 @@ INT32 OsShellCmdCat(INT32 argc, const CHAR **argv) if (fd == -1) { ret = -1; + free(fullpath); return ret; }