njn | 64a5cf9 | 2010-07-01 00:28:09 +0000 | [diff] [blame] | 1 | |
| 2 | # Suppressions for Darwin 10.x / Mac OS X 10.6 Snow Leopard |
njn | 3734f57 | 2010-07-01 02:37:23 +0000 | [diff] [blame] | 3 | |
| 4 | ##----------------------------------------------------------------------## |
| 5 | # Memcheck |
| 6 | ##----------------------------------------------------------------------## |
| 7 | |
sewardj | 96a69ea | 2010-10-07 15:45:59 +0000 | [diff] [blame] | 8 | # afaict this is legit. Might be caused by setenv("VAR=") |
| 9 | # where the value string is empty (not sure) |
| 10 | { |
| 11 | macos-Cond-7 |
| 12 | Memcheck:Cond |
| 13 | fun:__setenv |
| 14 | } |
| 15 | |
njn | 3734f57 | 2010-07-01 02:37:23 +0000 | [diff] [blame] | 16 | # From Jesse Ruderman. |
| 17 | { |
| 18 | Mac OS X 10.6.4. rdar://8145289. "new[]" paired with "delete" in the DesktopServicesPriv framework. |
| 19 | Memcheck:Free |
| 20 | fun:_ZdlPv |
| 21 | fun:_ZN5TChar18RemovePtrReferenceEv |
| 22 | } |
| 23 | |
| 24 | # From Jesse Ruderman. |
| 25 | { |
| 26 | Mac OS X 10.6.4. rdar://8145318. Uninitialized memory from HIMenuBarView::MeasureAppMenus is used in HIMenuBarView::SetAdjustTextTitleBoundsAtIndex. |
| 27 | Memcheck:Cond |
| 28 | fun:_ZN13HIMenuBarView31SetAdjustTextTitleBoundsAtIndexEih |
| 29 | fun:_ZN13HIMenuBarView15MeasureAppMenusEv |
sewardj | 96a69ea | 2010-10-07 15:45:59 +0000 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | { |
| 33 | TFontFeatures::TFontFeatures(CGFont*) (in CoreText.framework) |
| 34 | Memcheck:Cond |
| 35 | fun:_ZN13TFontFeaturesC2EP6CGFont |
| 36 | fun:_ZNK9TBaseFont12CopyFeaturesEv |
| 37 | } |
sewardj | 0f059a3 | 2011-02-02 17:16:48 +0000 | [diff] [blame] | 38 | |
| 39 | # See https://bugs.kde.org/show_bug.cgi?id=188572 about this; it's |
| 40 | # unavoidable due to BSD setenv() semantics. |
| 41 | { |
| 42 | macos-__setenv-leak-see-our-bug-188572 |
| 43 | Memcheck:Leak |
| 44 | fun:malloc_zone_malloc |
| 45 | fun:__setenv |
| 46 | } |
bart | bf4e139 | 2011-03-06 17:27:42 +0000 | [diff] [blame] | 47 | |
| 48 | { |
| 49 | libSystem-keymgr-leak-at-exit |
| 50 | Memcheck:Leak |
| 51 | fun:malloc |
| 52 | fun:get_or_create_key_element |
| 53 | fun:_keymgr_get_and_lock_processwide_ptr_2 |
| 54 | fun:__keymgr_initializer |
| 55 | fun:libSystem_initializer |
| 56 | } |