commit
59fbe91d8b
|
@ -181,6 +181,7 @@ VOID OsLs(const CHAR *pathname)
|
||||||
d = opendir(path);
|
d = opendir(path);
|
||||||
if (d == NULL) {
|
if (d == NULL) {
|
||||||
PRINT_ERR("No such directory = %s\n", path);
|
PRINT_ERR("No such directory = %s\n", path);
|
||||||
|
free(path);
|
||||||
} else {
|
} else {
|
||||||
PRINTK("Directory %s:\n", path);
|
PRINTK("Directory %s:\n", path);
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in New Issue