mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-14 17:58:40 -09:00
util.c:freedir() doesn't have to do anything with the selected flag
This commit is contained in:
parent
690eb3f593
commit
fb7b9f94df
1 changed files with 1 additions and 3 deletions
|
|
@ -217,13 +217,11 @@ struct dir *freedir(struct dir *dr) {
|
||||||
if(cur == NULL && dr->parent->parent)
|
if(cur == NULL && dr->parent->parent)
|
||||||
cur = dr->parent;
|
cur = dr->parent;
|
||||||
}
|
}
|
||||||
if(cur != NULL)
|
|
||||||
cur->flags |= FF_BSEL;
|
|
||||||
|
|
||||||
free(dr->name);
|
free(dr->name);
|
||||||
free(dr);
|
free(dr);
|
||||||
|
|
||||||
return(cur);
|
return cur;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue