Attachment "e02fc964f3.diff" to
ticket [e02fc964]
added by
chrstphrchvz
2022-02-05 20:22:03.
diff --git macosx/ttkMacOSXTheme.c macosx/ttkMacOSXTheme.c
index 52880ef1c..ddaa2269e 100644
--- macosx/ttkMacOSXTheme.c
+++ macosx/ttkMacOSXTheme.c
@@ -1188,6 +1188,7 @@ static void DrawDarkFocusRing(
CGPathRef path = CGPathCreateWithRoundedRect(insetBounds, 4, 4, NULL);
CGContextBeginPath(context);
CGContextAddPath(context, path);
+ CGPathRelease(path);
CGContextAddRect(context, bounds);
CGContextEOFillPath(context);
CGContextRestoreGState(context);