]> git.ipfire.org Git - thirdparty/git.git/blobdiff - credential.c
urlmatch.c: add and use a *_release() function
[thirdparty/git.git] / credential.c
index e7240f3f636f9d687836b7fe6df65b548ce285fd..f6389a50684a6e99bad1fe39b04a96fb99abc726 100644 (file)
@@ -130,6 +130,7 @@ static void credential_apply_config(struct credential *c)
        git_config(urlmatch_config_entry, &config);
        string_list_clear(&config.vars, 1);
        free(normalized_url);
+       urlmatch_config_release(&config);
        strbuf_release(&url);
 
        c->configured = 1;