Skip to content

Add mouse feature to print path of node #9

Merged
merged 3 commits into from
Aug 23, 2018
Merged

Add mouse feature to print path of node #9

merged 3 commits into from
Aug 23, 2018

Conversation

niclas
Copy link
Contributor

@niclas niclas commented Aug 15, 2018

No description provided.

xdu.c Outdated
return;
path = np->name;
while(np->parent != NULL) {
asprintf(&path, "%s/%s", np->parent->name, path);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

memory leak

checked with `du -k /etc | valgrind --leak-check=full --show-leak-kinds=all ./xdu`
@wwwutz
Copy link
Contributor

wwwutz commented Aug 23, 2018

LGTM, but never trust a fart!

@wwwutz wwwutz merged commit b3cee04 into mariux64:master Aug 23, 2018
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants