From 839d2108df9a9da609e3fb32d4147c2365225542 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Mon, 12 Oct 2009 16:26:20 -0700 Subject: * Changed libstdc++ stack depth for the get_savedir_filename() leak suppression to match the latest C++ library. * Added suppression for occasional escape_path_spaces() save leak. --- crawl-ref/source/misc/valgrind-suppress.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source') diff --git a/crawl-ref/source/misc/valgrind-suppress.txt b/crawl-ref/source/misc/valgrind-suppress.txt index 5a4e483fb1..d603372464 100644 --- a/crawl-ref/source/misc/valgrind-suppress.txt +++ b/crawl-ref/source/misc/valgrind-suppress.txt @@ -17,11 +17,23 @@ obj:*libstdc++* obj:*libstdc++* obj:*libstdc++* - obj:*libstdc++* fun:*get_savedir_filename* fun:*save_game* } +# Not sure what causes escape_path_spaces() in save_game() to leak, but +# since we're going to be exiting right away it doesn't really matter. +{ + save_game_escape_path_leak + Memcheck:Leak + obj:* + obj:*libstdc++* + obj:*libstdc++* + obj:*libstdc++* + fun:*escape_path_spaces* + fun:*save_game* +} + # The error variable in end() is stuff.cc never gets freed since # exit() is called before end() returns. See above suppression for more # notes -- cgit v1.2.3-54-g00ecf