]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http-backend.c
Merge branch 'jk/apply-binary-hunk-parsing-fix'
[thirdparty/git.git] / http-backend.c
index a03b4bae2221fc2cdb8fa5dad0f89c1ce33af281..b329bf63f097fadda16cbd4c8e1c06134b28d6a8 100644 (file)
@@ -39,7 +39,7 @@ static struct string_list *get_parameters(void)
        if (!query_params) {
                const char *query = getenv("QUERY_STRING");
 
-               query_params = xcalloc(1, sizeof(*query_params));
+               CALLOC_ARRAY(query_params, 1);
                while (query && *query) {
                        char *name = url_decode_parameter_name(&query);
                        char *value = url_decode_parameter_value(&query);