diff options
author | Steven Schubiger <stsc@refcnt.org> | 2017-08-20 22:17:24 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2017-08-20 22:17:24 +0200 |
commit | 2d7ae2f7a5858e02a378d62142d65c4ff975859b (patch) | |
tree | 47be9c606dcf05da98c0ddcac993a65cb21e35ad /colorize.c | |
parent | df39786cf8092e479f7de292965439ff9a155696 (diff) | |
download | colorize-2d7ae2f7a5858e02a378d62142d65c4ff975859b.tar.gz colorize-2d7ae2f7a5858e02a378d62142d65c4ff975859b.tar.bz2 |
process_opt_attr(): release var if not prior exited
Diffstat (limited to 'colorize.c')
-rw-r--r-- | colorize.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -474,6 +474,7 @@ process_opt_attr (const char *p) strncpy (attr_invalid, s, p - s); attr_invalid[p - s] = '\0'; vfprintf_fail ("--attr switch attribute '%s' is not valid", attr_invalid); + RELEASE_VAR (attr_invalid); /* never reached */ } } if (*p) |