tests: free the remotes temp buffer

This commit is contained in:
Carlos Martín Nieto 2012-02-01 04:40:18 +01:00
parent f82d996e75
commit 771cde4318

View File

@ -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);
} }