From f7f3e433ffb6b13ef738737e3b61f657191fd93f Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Fri, 9 Sep 2011 22:00:25 +0000 Subject: [Author: dmaclach] Clean up clang issues in GTM. The one in GTMABAddressBook is a weird one, that I'll try and file a bug on. R=thomasvl DELTA=92 (53 added, 6 deleted, 33 changed) --- Foundation/GTMServiceManagementTestingHarness.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Foundation/GTMServiceManagementTestingHarness.c') diff --git a/Foundation/GTMServiceManagementTestingHarness.c b/Foundation/GTMServiceManagementTestingHarness.c index 2b99758..bb86071 100644 --- a/Foundation/GTMServiceManagementTestingHarness.c +++ b/Foundation/GTMServiceManagementTestingHarness.c @@ -21,9 +21,11 @@ int main(int argc, const char** argv) { #if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 CFErrorRef error = NULL; - CFDictionaryRef dict = GTMSMJobCheckIn(&error); + CFDictionaryRef dict = GTMSMCopyJobCheckInDictionary(&error); if (!dict) { CFShow(error); + } else { + CFRelease(dict); } #endif // if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 return 0; -- cgit v1.2.3