md command: Close filedescriptor after use
This commit is contained in:
parent
20f3ac6e51
commit
14056577fd
|
@ -287,6 +287,8 @@ static int do_mem_mw ( cmd_tbl_t *cmdtp, int argc, char *argv[])
|
||||||
optind++;
|
optind++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
close(fd);
|
||||||
|
|
||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue