diff options
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) |