diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-10-19 19:52:48 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-10-19 19:54:14 +0200 |
commit | a48c2cf4e5a9136bf23f4d73a5fe141ebf180e1a (patch) | |
tree | 0123372f6992d504ed2311abfee111a31d1a8613 /iexec.c | |
parent | f79a8d38fb97443e6c64196b084253c96fd0391c (diff) | |
download | desktop-tools-a48c2cf4e5a9136bf23f4d73a5fe141ebf180e1a.tar.gz desktop-tools-a48c2cf4e5a9136bf23f4d73a5fe141ebf180e1a.tar.xz desktop-tools-a48c2cf4e5a9136bf23f4d73a5fe141ebf180e1a.zip |
Bump liberty
The bugfixes in the config parser are worth it.
I might have slightly overused cstr_set().
Diffstat (limited to 'iexec.c')
-rw-r--r-- | iexec.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -105,9 +105,7 @@ main (int argc, char *argv[]) "PROGRAM [ARG...]", "Run a program and restart on file change."); // We have to turn that off as it causes more trouble than what it's worth - char *nonpermuting = xstrdup_printf ("+%s", oh.opt_string); - free (oh.opt_string); - oh.opt_string = nonpermuting; + cstr_set (&oh.opt_string, xstrdup_printf ("+%s", oh.opt_string)); int c; while ((c = opt_handler_get (&oh)) != -1) |