diff options
author | Jim Meyering <jim@meyering.net> | 2000-11-01 17:52:43 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-11-01 17:52:43 +0000 |
commit | 9e9f0846f8ddc3774ac3212c22348fdbe5e72780 (patch) | |
tree | 4692ee133e24bc35d75c12eda9c124fd5d07f1d7 /src | |
parent | 09917b2b9a01f216d061c300f2cedbceb53bc163 (diff) | |
download | coreutils-9e9f0846f8ddc3774ac3212c22348fdbe5e72780.tar.xz |
Fix bad typo! free the string, PARENTS, not the function, dir_name.
Diffstat (limited to 'src')
-rw-r--r-- | src/mkdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mkdir.c b/src/mkdir.c index 92d158c63..5ab7cab65 100644 --- 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) |