Skip to content

Commit

Permalink
Fix issue #19
Browse files Browse the repository at this point in the history
  • Loading branch information
niclas committed Feb 7, 2019
1 parent 32ea06e commit ace9d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ makenode(char* name, long long size)
struct node* np;

np = (struct node*)calloc(1, sizeof(struct node));
np->name = strdup(name);
np->name = name;
np->size = size;
np->num = nnodes;
nnodes++;
Expand Down

0 comments on commit ace9d96

Please sign in to comment.