Missed a free...
This commit is contained in:
parent
5c889a168d
commit
c5dc546663
@ -119,6 +119,7 @@ start_shell() {
|
||||
}
|
||||
}
|
||||
fs_node_t * file = kopen(filename,0);
|
||||
free(filename);
|
||||
if (!file) {
|
||||
kprintf("cat: could not open file `%s`\n", argv[1]);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user