1# $Id: ncurses.supp,v 1.7 2008/09/20 18:43:42 tom Exp $ 2############################################################################## 3# Copyright (c) 2008 Free Software Foundation, Inc. # 4# # 5# Permission is hereby granted, free of charge, to any person obtaining a # 6# copy of this software and associated documentation files (the "Software"), # 7# to deal in the Software without restriction, including without limitation # 8# the rights to use, copy, modify, merge, publish, distribute, distribute # 9# with modifications, sublicense, and/or sell copies of the Software, and to # 10# permit persons to whom the Software is furnished to do so, subject to the # 11# following conditions: # 12# # 13# The above copyright notice and this permission notice shall be included in # 14# all copies or substantial portions of the Software. # 15# # 16# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # 17# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # 18# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # 19# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # 20# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # 21# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # 22# DEALINGS IN THE SOFTWARE. # 23# # 24# Except as contained in this notice, the name(s) of the above copyright # 25# holders shall not be used in advertising or otherwise to promote the sale, # 26# use or other dealings in this Software without prior written # 27# authorization. # 28############################################################################## 29# 30# This is a warning-suppression file for valgrind and ncurses. 31# 32# ncurses can also be configured using the --disable-leaks option, which 33# allows an application to call _nc_freeall() or _nc_free_and_exit(), to 34# free all of ncurses' "permanent" memory. 35# 36# Some of these leaks can be freed if the application does its own cleanup, 37# for example: 38# delscreen(SP); 39# del_curterm(cur_term); 40# However, few applications do this. 41 42{ 43 ncurses_leak__nc_add_to_try 44 Memcheck:Leak 45 fun:*alloc 46 fun:_nc_add_to_try 47} 48 49{ 50 ncurses_leak__nc_home_terminfo 51 Memcheck:Leak 52 fun:malloc 53 fun:_nc_home_terminfo 54} 55 56{ 57 ncurses_leak__nc_init_wacs 58 Memcheck:Leak 59 fun:calloc 60 fun:_nc_init_wacs 61} 62 63{ 64 ncurses_leak__nc_keyname 65 Memcheck:Leak 66 fun:calloc 67 fun:_nc_keyname 68} 69 70{ 71 ncurses_leak__nc_keyname_2 72 Memcheck:Leak 73 fun:malloc 74 fun:strdup 75 fun:_nc_keyname 76} 77 78{ 79 ncurses_leak__nc_printf_string 80 Memcheck:Leak 81 fun:malloc 82 fun:_nc_doalloc 83 fun:_nc_printf_string 84} 85 86{ 87 ncurses_leak__nc_read_termtype 88 Memcheck:Leak 89 fun:*alloc 90 fun:_nc_read_termtype 91 fun:_nc_read_file_entry 92} 93 94{ 95 ncurses_leak__nc_read_termtype_2 96 Memcheck:Leak 97 fun:*alloc 98 fun:_nc_doalloc 99 fun:_nc_read_termtype 100 fun:_nc_read_file_entry 101} 102 103{ 104 ncurses_leak__nc_scroll_optimize 105 Memcheck:Leak 106 fun:*alloc 107 fun:_nc_hash_map 108 fun:_nc_scroll_optimize 109} 110 111{ 112 ncurses_leak__nc_scroll_optimize_2 113 Memcheck:Leak 114 fun:*alloc 115 fun:_nc_doalloc 116 fun:_nc_scroll_optimize 117} 118 119{ 120 ncurses_leak__nc_setupscreen 121 Memcheck:Leak 122 fun:calloc 123 fun:_nc_setupscreen 124 fun:newterm 125} 126 127{ 128 ncurses_leak__nc_setupscreen_2 129 Memcheck:Leak 130 fun:calloc 131 fun:newwin 132 fun:_nc_setupscreen 133} 134 135{ 136 ncurses_leak__nc_setupterm_1 137 Memcheck:Leak 138 fun:malloc 139 fun:strdup 140 fun:_nc_setupterm 141} 142 143{ 144 ncurses_leak__nc_setupterm 145 Memcheck:Leak 146 fun:calloc 147 fun:_nc_setupterm 148} 149 150{ 151 ncurses_leak__nc_setupscreen_3 152 Memcheck:Leak 153 fun:calloc 154 fun:_nc_makenew 155 fun:newwin 156 fun:_nc_setupscreen 157} 158 159{ 160 ncurses_leak__nc_set_buffer 161 Memcheck:Leak 162 fun:malloc 163 fun:_nc_set_buffer 164} 165 166{ 167 ncurses_leak__nc_tparm_analyze 168 Memcheck:Leak 169 fun:*alloc 170 fun:_nc_doalloc 171 fun:_nc_tparm_analyze 172} 173 174{ 175 ncurses_leak__nc_trace_alloc 176 Memcheck:Leak 177 fun:*alloc 178 fun:_nc_doalloc 179 fun:_nc_trace_alloc 180} 181 182{ 183 ncurses_leak_start_color 184 Memcheck:Leak 185 fun:calloc 186 fun:start_color 187} 188 189{ 190 ncurses_leak_tparm 191 Memcheck:Leak 192 fun:realloc 193 fun:_nc_doalloc 194 fun:tparm 195} 196 197{ 198 ncurses_leak_tparam_internal 199 Memcheck:Leak 200 fun:realloc 201 fun:_nc_doalloc 202 fun:get_space 203 fun:save_number 204 fun:tparam_internal 205} 206