Fix potential memory leak
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3313 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
5e523ebd93
commit
89e4925a46
|
@ -705,7 +705,7 @@ int cmd_losetup(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
|||
|
||||
if (badarg)
|
||||
{
|
||||
return ERROR;
|
||||
goto errout_with_paths;
|
||||
}
|
||||
|
||||
/* If this is not a tear down operation, then additional command line
|
||||
|
|
Loading…
Reference in New Issue