Commit 771cde43 by Carlos Martín Nieto

tests: free the remotes temp buffer

parent f82d996e
...@@ -57,4 +57,5 @@ void test_network_remotes__transform_r(void) ...@@ -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);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment