fix incorrect pool-release in checking for monospace font

svn: r7732
This commit is contained in:
Matthew Flatt 2007-11-15 03:04:59 +00:00
parent a9ddbb33e4
commit e1fc8e96f0

View File

@ -21,7 +21,6 @@ int wx_isFamilyFixedWidth(FMFontFamily fam)
if (!ATSFontGetPostScriptName(ats, kATSOptionFlagsDefault, &ref)) {
nsfnt = [NSFont fontWithName: (NSString *)ref size: 12];
CFRelease(ref);
[pool release];
is_fw = [nsfnt isFixedPitch];
}
}