]> git.refcnt.org Git - colorize.git/blobdiff - colorize.c
colorize 0.61
[colorize.git] / colorize.c
index 0cfbaad0862809baf37a7e3a0037748e557d87f8..84677fb2afb56727aeb00cece2c7095364364a0a 100644 (file)
 
 #define MAX_ATTRIBUTE_CHARS (5 * 2)
 
-#define VERSION "0.60"
+#define VERSION "0.61"
 
 typedef enum { false, true } bool;
 
@@ -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;