From 77b79dde84b6b53a3c9bdde844fcd2a73b9bcca7 Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Tue, 24 Nov 2015 14:36:46 +0100 Subject: [PATCH] tests: win32::longpath: free expected_msg --- tests/win32/longpath.c | 2 ++ 1 file changed, 2 insertions(+) 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