diff options
Diffstat (limited to 'layout.c')
-rw-r--r-- | layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -135,7 +135,7 @@ int register_include_arg(struct layout_include_args **args, const char *arg) } } - tmp = malloc(sizeof(struct layout_include_args)); + tmp = malloc(sizeof(*tmp)); if (tmp == NULL) { msg_gerr("Could not allocate memory"); goto error; |