aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
Diffstat (limited to 'colorize.c')
-rw-r--r--colorize.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/colorize.c b/colorize.c
index 0cfbaad..7683e1c 100644
--- a/colorize.c
+++ b/colorize.c
@@ -369,13 +369,9 @@ process_opts (int argc, char **argv)
case 0: /* long opts */
switch (opt_type)
{
- case OPT_ATTR: {
- char *opt;
- opt = xstrdup (optarg);
- process_opt_attr (opt);
- free (opt);
+ case OPT_ATTR:
+ process_opt_attr (optarg);
break;
- }
case OPT_CLEAN:
clean = true;
break;