From ac5a558b9fc9f74879bdc3f6c6b8eb9ac5d8d2b4 Mon Sep 17 00:00:00 2001 From: Arne Goedeke <el@laramies.com> Date: Wed, 9 Oct 2013 17:08:42 +0200 Subject: [PATCH] make valgrind find catch_contexts to avoid spurious leak reports --- src/interpret.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interpret.c b/src/interpret.c index c6e8eab8f1..444d564497 100644 --- a/src/interpret.c +++ b/src/interpret.c @@ -1142,6 +1142,7 @@ PMOD_EXPORT void really_free_catch_context( struct catch_context *data ) num_free_catch_ctx++; PIKE_MEM_NA(*data); + PIKE_MEM_RW(data->prev); free_catch_context = data; } } -- GitLab