From 6ca7f2f6c4d8094a7eb1c1ce5e70669629aba78e Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 13 Jun 2012 18:43:37 +0000 Subject: [PATCH] indicating the memory ownership of our c-method for the clang analyzer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/osx/private/glgrab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/osx/private/glgrab.h b/include/wx/osx/private/glgrab.h index 3ec2df8f4e..a3ceabe689 100644 --- a/include/wx/osx/private/glgrab.h +++ b/include/wx/osx/private/glgrab.h @@ -4,7 +4,7 @@ extern "C" { #endif - CGImageRef grabViaOpenGL(CGDirectDisplayID display, + CF_RETURNS_RETAINED CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect); #if defined __cplusplus -- 2.45.2