mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-04 12:28:25 +00:00
tests: free the remotes temp buffer
This commit is contained in:
parent
f82d996e75
commit
771cde4318
@ -57,4 +57,5 @@ void test_network_remotes__transform_r(void)
|
|||||||
|
|
||||||
cl_git_pass(git_refspec_transform_r(&buf, _refspec, "refs/heads/master"));
|
cl_git_pass(git_refspec_transform_r(&buf, _refspec, "refs/heads/master"));
|
||||||
cl_assert(!strcmp(git_buf_cstr(&buf), "refs/remotes/test/master"));
|
cl_assert(!strcmp(git_buf_cstr(&buf), "refs/remotes/test/master"));
|
||||||
|
git_buf_free(&buf);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user