From a48c2cf4e5a9136bf23f4d73a5fe141ebf180e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Mon, 19 Oct 2020 19:52:48 +0200 Subject: Bump liberty The bugfixes in the config parser are worth it. I might have slightly overused cstr_set(). --- iexec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'iexec.c') diff --git a/iexec.c b/iexec.c index fd211e1..cd9dc97 100644 --- a/iexec.c +++ b/iexec.c @@ -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) -- cgit v1.2.3