]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - write_common.c
Merge topic branch t/overflow into master
[paraslash.git] / write_common.c
index 806d682f7a4b914e019fe152945e13a0d623cd76..9a13090541895df5b7bc7ee8f42fbc2fda37a9f2 100644 (file)
@@ -85,7 +85,7 @@ int check_writer_arg_or_die(const char *wa, struct lls_parse_result **lprp)
        if (!wa || !*wa) {
                writer_num = default_writer_id();
                cmd = WRITE_CMD(writer_num);
-               argv = para_malloc(2 * sizeof(char *));
+               argv = alloc(2 * sizeof(char *));
                argc = 1;
                argv[0] = para_strdup(lls_command_name(cmd));
                argv[1] = NULL;