summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2015-11-24 14:36:46 +0100
committerPatrick Steinhardt <ps@pks.im>2015-11-24 15:21:52 +0100
commit77b79dde84b6b53a3c9bdde844fcd2a73b9bcca7 (patch)
treec842de285e20d62800c509fcde7b29fe9b7b0774
parent9031be180b67b50a14cacae7ff9a8b5216ca1e8a (diff)
downloadlibgit2-77b79dde84b6b53a3c9bdde844fcd2a73b9bcca7.tar.gz
tests: win32::longpath: free expected_msg
-rw-r--r--tests/win32/longpath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/win32/longpath.c b/tests/win32/longpath.c
index 6de7d389a..07eecd394 100644
--- a/tests/win32/longpath.c
+++ b/tests/win32/longpath.c
@@ -46,6 +46,8 @@ void assert_name_too_long(void)
/* check the suffix */
cl_assert_equal_s(expected_msg, err->message + (actual_len - expected_len));
+
+ git__free(expected_msg);
}
#endif