mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Fixed segfault after aborting calculation
I really, really, wasn't think when writing commit
91b131a080
This commit is contained in:
parent
eb3310060f
commit
ae14721c5f
1 changed files with 1 additions and 1 deletions
|
|
@ -403,9 +403,9 @@ void calc_process() {
|
|||
}
|
||||
|
||||
/* something went wrong... */
|
||||
free(path);
|
||||
if(!path[1] && strcmp(name, "."))
|
||||
free(name);
|
||||
free(path);
|
||||
freedir(root);
|
||||
calc_fail:
|
||||
while(failed && !input_handle(0))
|
||||
|
|
|
|||
Loading…
Reference in a new issue