From 897cf61a55ff702db30cce5fde3c54a5401da406 Mon Sep 17 00:00:00 2001 From: John Ellis Date: Tue, 26 Oct 2010 07:37:55 -0700 Subject: [PATCH] fixed a small memory leak --- .../TTStyleCatalog.xcodeproj/project.pbxproj | 15 +++++++++++---- .../TTNavigatorDemo.xcodeproj/project.pbxproj | 5 +++-- .../Three20Core.xcodeproj/project.pbxproj | 7 +++++++ .../Three20Network.xcodeproj/project.pbxproj | 7 +++++++ .../Sources/TTTableHeaderDragRefreshView.m | 2 ++ 5 files changed, 30 insertions(+), 6 deletions(-) diff --git a/samples/Style/TTStyleCatalog/TTStyleCatalog.xcodeproj/project.pbxproj b/samples/Style/TTStyleCatalog/TTStyleCatalog.xcodeproj/project.pbxproj index 495a253936..0cec4e8297 100755 --- a/samples/Style/TTStyleCatalog/TTStyleCatalog.xcodeproj/project.pbxproj +++ b/samples/Style/TTStyleCatalog/TTStyleCatalog.xcodeproj/project.pbxproj @@ -468,7 +468,14 @@ isa = PBXProject; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "TTStyleCatalog" */; compatibilityVersion = "Xcode 3.1"; + developmentRegion = English; hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; projectDirPath = ""; projectReferences = ( @@ -686,7 +693,7 @@ GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = DEBUG; INFOPLIST_FILE = "TTStyleCatalog-Info.plist"; - SDKROOT = iphoneos4.0; + SDKROOT = iphoneos4.1; }; name = Debug; }; @@ -696,7 +703,7 @@ buildSettings = { COPY_PHASE_STRIP = YES; INFOPLIST_FILE = "TTStyleCatalog-Info.plist"; - SDKROOT = iphoneos4.0; + SDKROOT = iphoneos4.1; }; name = Release; }; @@ -710,7 +717,7 @@ GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; PREBINDING = NO; - SDKROOT = iphoneos4.0; + SDKROOT = iphoneos4.1; }; name = Debug; }; @@ -724,7 +731,7 @@ GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; PREBINDING = NO; - SDKROOT = iphoneos4.0; + SDKROOT = iphoneos4.1; }; name = Release; }; diff --git a/samples/TTNavigatorDemo/TTNavigatorDemo.xcodeproj/project.pbxproj b/samples/TTNavigatorDemo/TTNavigatorDemo.xcodeproj/project.pbxproj index b5dff718b9..8101fc1d5c 100755 --- a/samples/TTNavigatorDemo/TTNavigatorDemo.xcodeproj/project.pbxproj +++ b/samples/TTNavigatorDemo/TTNavigatorDemo.xcodeproj/project.pbxproj @@ -426,6 +426,7 @@ isa = PBXProject; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "TTNavigatorDemo" */; compatibilityVersion = "Xcode 3.1"; + developmentRegion = English; hasScannedForEncodings = 1; knownRegions = ( English, @@ -674,7 +675,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; ONLY_ACTIVE_ARCH = YES; PREBINDING = NO; - SDKROOT = iphoneos4.0; + SDKROOT = iphoneos4.1; }; name = Debug; }; @@ -689,7 +690,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; PREBINDING = NO; "PROVISIONING_PROFILE[sdk=iphoneos*]" = DefaultProfileUuid; - SDKROOT = iphoneos4.0; + SDKROOT = iphoneos4.1; }; name = Release; }; diff --git a/src/Three20Core/Three20Core.xcodeproj/project.pbxproj b/src/Three20Core/Three20Core.xcodeproj/project.pbxproj index ef186c0c8e..e4f0ccc6c4 100755 --- a/src/Three20Core/Three20Core.xcodeproj/project.pbxproj +++ b/src/Three20Core/Three20Core.xcodeproj/project.pbxproj @@ -346,7 +346,14 @@ }; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Three20Core" */; compatibilityVersion = "Xcode 3.1"; + developmentRegion = English; hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; projectDirPath = ""; projectRoot = ""; diff --git a/src/Three20Network/Three20Network.xcodeproj/project.pbxproj b/src/Three20Network/Three20Network.xcodeproj/project.pbxproj index a2a8aef2d6..094170df6c 100755 --- a/src/Three20Network/Three20Network.xcodeproj/project.pbxproj +++ b/src/Three20Network/Three20Network.xcodeproj/project.pbxproj @@ -403,7 +403,14 @@ isa = PBXProject; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Three20Network" */; compatibilityVersion = "Xcode 3.1"; + developmentRegion = English; hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; projectDirPath = ""; projectReferences = ( diff --git a/src/Three20UI/Sources/TTTableHeaderDragRefreshView.m b/src/Three20UI/Sources/TTTableHeaderDragRefreshView.m index 011624612d..4a3cac9205 100644 --- a/src/Three20UI/Sources/TTTableHeaderDragRefreshView.m +++ b/src/Three20UI/Sources/TTTableHeaderDragRefreshView.m @@ -102,6 +102,8 @@ - (void)dealloc { TT_RELEASE_SAFELY(_statusLabel); TT_RELEASE_SAFELY(_arrowImage); TT_RELEASE_SAFELY(_lastUpdatedLabel); + TT_RELEASE_SAFELY(_lastUpdatedDate); + [super dealloc]; }