diff options
Diffstat (limited to 'spawn.c')
| -rw-r--r-- | spawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ spawn_expand_template(const struct config_spawn_template *template, expanded[len] = '\0'; \ } while (0) - *argv = malloc((*argc + 1) * sizeof((*argv)[0])); + *argv = xmalloc((*argc + 1) * sizeof((*argv)[0])); /* Expand the provided keys */ for (size_t i = 0; i < *argc; i++) { |
