summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-10-12 16:26:20 -0700
committerMatthew Cline <zelgadis@sourceforge.net>2009-10-12 16:26:20 -0700
commit839d2108df9a9da609e3fb32d4147c2365225542 (patch)
tree221cb99fb074f7c14866dbe65484943dddb5f08a /crawl-ref/source/misc
parent64b794703481fcdc61f912743b7e11bea7523d6d (diff)
downloadcrawl-ref-839d2108df9a9da609e3fb32d4147c2365225542.tar.gz
crawl-ref-839d2108df9a9da609e3fb32d4147c2365225542.zip
* 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.
Diffstat (limited to 'crawl-ref/source/misc')
-rw-r--r--crawl-ref/source/misc/valgrind-suppress.txt14
1 files changed, 13 insertions, 1 deletions
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