diff options
author | culler <culler> | 2019-11-04 16:09:33 (GMT) |
---|---|---|
committer | culler <culler> | 2019-11-04 16:09:33 (GMT) |
commit | d6ff843f2a143394e4c24f8502d9b1fdc17e6ebb (patch) | |
tree | a96d19fcb14d9a6fe61a44e82c2c3fc3b7e5eaa5 /macosx | |
parent | fdc8805fa4d1297735e0bf313941ce3c40a9855c (diff) | |
download | tk-d6ff843f2a143394e4c24f8502d9b1fdc17e6ebb.zip tk-d6ff843f2a143394e4c24f8502d9b1fdc17e6ebb.tar.gz tk-d6ff843f2a143394e4c24f8502d9b1fdc17e6ebb.tar.bz2 |
But we shouldn't call CFRelease on the font returned by [NSFont userFixedPitchFontOfSize:11]
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXFont.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/tkMacOSXFont.c b/macosx/tkMacOSXFont.c index 23a3cb8..bc1edff 100644 --- a/macosx/tkMacOSXFont.c +++ b/macosx/tkMacOSXFont.c @@ -407,7 +407,9 @@ TkpFontPkgInit( #endif if (nsFont) { GetTkFontAttributesForNSFont(nsFont, &fa); +#if 0 CFRelease(nsFont); +#endif } else { fa.family = Tk_GetUid("Monaco"); fa.size = 11; |