about summary refs log tree commit diff
path: root/third_party/git/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/trace.c')
-rw-r--r--third_party/git/trace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/git/trace.c b/third_party/git/trace.c
index b3ef0e627f8c..fa4a2e7120e4 100644
--- a/third_party/git/trace.c
+++ b/third_party/git/trace.c
@@ -88,6 +88,8 @@ static int prepare_trace_line(const char *file, int line,
 	if (!trace_want(key))
 		return 0;
 
+	set_try_to_free_routine(NULL);	/* is never reset */
+
 	/* unit tests may want to disable additional trace output */
 	if (trace_want(&trace_bare))
 		return 1;