diff options
-rw-r--r-- | src/install.c | 2 | ||||
-rw-r--r-- | src/mkdir.c | 2 | ||||
-rw-r--r-- | src/mkfifo.c | 2 | ||||
-rw-r--r-- | src/mknod.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/install.c b/src/install.c index 5659bc70e..dcaa9d3f4 100644 --- a/src/install.c +++ b/src/install.c @@ -357,7 +357,7 @@ main (int argc, char **argv) if (!change) error (EXIT_FAILURE, 0, _("invalid mode %s"), quote (specified_mode)); mode = mode_adjust (0, change, 0); - mode_free (change); + free (change); } get_ids (); diff --git a/src/mkdir.c b/src/mkdir.c index 544392130..92aae73ea 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -139,7 +139,7 @@ main (int argc, char **argv) error (EXIT_FAILURE, 0, _("invalid mode %s"), quote (specified_mode)); newmode = mode_adjust (S_IRWXUGO, change, umask_value); - mode_free (change); + free (change); } else umask (umask_value); diff --git a/src/mkfifo.c b/src/mkfifo.c index 5a9b7efab..22f66a329 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -119,7 +119,7 @@ main (int argc, char **argv) if (!change) error (EXIT_FAILURE, 0, _("invalid mode")); newmode = mode_adjust (newmode, change, umask (0)); - mode_free (change); + free (change); } for (; optind < argc; ++optind) diff --git a/src/mknod.c b/src/mknod.c index ce7dd9565..129a304ba 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -124,7 +124,7 @@ main (int argc, char **argv) if (!change) error (EXIT_FAILURE, 0, _("invalid mode")); newmode = mode_adjust (newmode, change, umask (0)); - mode_free (change); + free (change); } /* If the number of arguments is 0 or 1, |