diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2011-09-09 22:00:25 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2011-09-09 22:00:25 +0000 |
commit | f7f3e433ffb6b13ef738737e3b61f657191fd93f (patch) | |
tree | 164e7c462788460e5eb65e8523524e93dbd51d0b /Foundation/GTMServiceManagementTestingHarness.c | |
parent | e4c73da9b59d0b558d96c31968cd0787622c2ef6 (diff) |
[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)
Diffstat (limited to 'Foundation/GTMServiceManagementTestingHarness.c')
-rw-r--r-- | Foundation/GTMServiceManagementTestingHarness.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |