projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09917b2
)
Fix bad typo! free the string, PARENTS, not the function, dir_name.
author
Jim Meyering
<jim@meyering.net>
Wed, 1 Nov 2000 17:52:43 +0000
(17:52 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 1 Nov 2000 17:52:43 +0000
(17:52 +0000)
src/mkdir.c
patch
|
blob
|
history
diff --git
a/src/mkdir.c
b/src/mkdir.c
index
92d158c
..
5ab7cab
100644
(file)
--- a/
src/mkdir.c
+++ b/
src/mkdir.c
@@
-146,7
+146,7
@@
main (int argc, char **argv)
const char *parents = dir_name (argv[optind]);
fail = make_path (parents, parent_mode, parent_mode,
-1, -1, 1, verbose_fmt_string);
- free (
dir_name
);
+ free (
parents
);
}
if (fail == 0)