diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-08-09 08:54:39 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-08-09 08:54:39 +0000 |
| commit | 828a57c2011eb797a9a257d124d48c641b3cac89 (patch) | |
| tree | cb2539f90c8a1be1ae330c807997dfc2a98e9481 /config.c | |
| parent | changelog: add birger to 'contributers' for the upcoming release (diff) | |
| parent | Handle allocation failures explicitly in *_init() functions (diff) | |
Merge branch 'xmalloc-conversion' into master
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -752,7 +752,7 @@ parse_section_key_bindings( } pipe_len = pipe_cmd_end - value - 1; - pipe_cmd = strndup(&value[1], pipe_len); + pipe_cmd = xstrndup(&value[1], pipe_len); if (!tokenize_cmdline(pipe_cmd, &pipe_argv)) { LOG_AND_NOTIFY_ERR("%s:%d: syntax error in command line", path, lineno); |
