Merge pull request #3227 from jeffhostetler/memory_leak__tests_network_refspecs Fix memory leak in tests/network/refspecs.c
diff --git a/tests/network/refspecs.c b/tests/network/refspecs.c
index 614d91d..c47f197 100644
--- a/tests/network/refspecs.c
+++ b/tests/network/refspecs.c
@@ -155,4 +155,6 @@ void test_network_refspecs__matching(void)
cl_assert_equal_s(":", spec.string);
cl_assert_equal_s("", spec.src);
cl_assert_equal_s("", spec.dst);
+
+ git_refspec__free(&spec);
}