summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2022-09-15 15:19:46 (GMT)
committermarc_culler <marc.culler@gmail.com>2022-09-15 15:19:46 (GMT)
commitf0641c960f92d80fd6f2c991fa923ce0a8857213 (patch)
treeffe1cda88c8ce4f43a015d84190cc07202a18938
parent7f827e3b781c2cb2317eeea7ec5e2115f3b2c365 (diff)
downloadtk-f0641c960f92d80fd6f2c991fa923ce0a8857213.zip
tk-f0641c960f92d80fd6f2c991fa923ce0a8857213.tar.gz
tk-f0641c960f92d80fd6f2c991fa923ce0a8857213.tar.bz2
Add missing [pool drain].
-rw-r--r--macosx/tkMacOSXColor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/tkMacOSXColor.c b/macosx/tkMacOSXColor.c
index 135ec0d..7fbcff2 100644
--- a/macosx/tkMacOSXColor.c
+++ b/macosx/tkMacOSXColor.c
@@ -435,6 +435,7 @@ SetCGColorComponents(
if (entry->type == HIBrush) {
OSStatus err = ChkErr(HIThemeBrushCreateCGColor, entry->value, c);
+ [pool drain];
return err == noErr;
}
GetRGBA(entry, pixel, rgba);