From 3ececfd2a5dd5d183511425f24cfbd0aeb9e58f8 Mon Sep 17 00:00:00 2001 From: Ken Thomases Date: Sun, 20 Oct 2013 23:55:21 -0500 Subject: [PATCH] winemac: Fix a leak in macdrv_CountClipboardFormats(). (Clang). --- dlls/winemac.drv/clipboard.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/winemac.drv/clipboard.c b/dlls/winemac.drv/clipboard.c index 73c4dfa2b8..ee63c107b6 100644 --- a/dlls/winemac.drv/clipboard.c +++ b/dlls/winemac.drv/clipboard.c @@ -1716,6 +1716,7 @@ INT CDECL macdrv_CountClipboardFormats(void) } } + CFRelease(types); CFRelease(seen_formats); TRACE(" -> %d\n", ret); return ret;