Commit 77b79dde84b6b53a3c9bdde844fcd2a73b9bcca7

Patrick Steinhardt 2015-11-24T14:36:46

tests: win32::longpath: free expected_msg

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/win32/longpath.c b/tests/win32/longpath.c
index 6de7d38..07eecd3 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