Permalink
Browse files

fix some leak bugs.

  • Loading branch information...
1 parent e6ff875 commit e43106ea50c4a2d62797e68338ef4b6b5f8fc942 @qdvictory committed May 2, 2012
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "65DB23F813F0106900B59C2F"
+ BuildableName = "WBShareKit.app"
+ BlueprintName = "WBShareKit"
+ ReferencedContainer = "container:WBShareKit.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "65DB23F813F0106900B59C2F"
+ BuildableName = "WBShareKit.app"
+ BlueprintName = "WBShareKit"
+ ReferencedContainer = "container:WBShareKit.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ ignoresPersistentStateOnLaunch = "NO"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "65DB23F813F0106900B59C2F"
+ BuildableName = "WBShareKit.app"
+ BlueprintName = "WBShareKit"
+ ReferencedContainer = "container:WBShareKit.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "65DB23F813F0106900B59C2F"
+ BuildableName = "WBShareKit.app"
+ BlueprintName = "WBShareKit"
+ ReferencedContainer = "container:WBShareKit.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>SchemeUserState</key>
+ <dict>
+ <key>WBShareKit.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>65DB23F813F0106900B59C2F</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
@@ -429,11 +429,10 @@ - (void)sendSinaRecordWithStatus:(NSString *)_status lat:(double)_lat lng:(doubl
[request prepare];
- OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] init] autorelease];
- [addRecordFetcher initWithRequest:request
+ OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] initWithRequest:request
delegate:_delegate
didFinishSelector:_sSel
- didFailSelector:_eSel];
+ didFailSelector:_eSel] autorelease];
[addRecordFetcher start];
// [addRecordFetcher release];
}
@@ -529,11 +528,10 @@ - (void)sendSinaPhotoWithStatus:(NSString *)_status lat:(double)_lat lng:(double
[request prepare];
- OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] init] autorelease];
- [addRecordFetcher initWithRequest:request
+ OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] initWithRequest:request
delegate:_delegate
didFinishSelector:_successSEL
- didFailSelector:_failSEL];
+ didFailSelector:_failSEL] autorelease];
[addRecordFetcher start];
// [addRecordFetcher release];
}
@@ -676,11 +674,10 @@ - (void)sendDoubanShuoWithStatus:(NSString *)_status delegate:(id)_delegate succ
// [request prepare];
- OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] init] autorelease];
- [addRecordFetcher initWithRequest:request
+ OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] initWithRequest:request
delegate:_delegate
didFinishSelector:_sSel
- didFailSelector:_eSel];
+ didFailSelector:_eSel] autorelease];
[addRecordFetcher start];
// [addRecordFetcher release];
}
@@ -841,11 +838,10 @@ - (void)sendTxRecordWithStatus:(NSString *)_status lat:(double)_lat lng:(double)
[request setHTTPBody:[body dataUsingEncoding:NSUTF8StringEncoding]];
- OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] init] autorelease];
- [addRecordFetcher initWithRequest:request
+ OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] initWithRequest:request
delegate:_delegate
didFinishSelector:_sSel
- didFailSelector:_eSel];
+ didFailSelector:_eSel] autorelease];
[addRecordFetcher start];
// [addRecordFetcher release];
@@ -933,11 +929,10 @@ - (void)sendTxRecordWithStatus:(NSString *)_status lat:(double)_lat lng:(double)
[request setHTTPBody:postbody];
- OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] init] autorelease];
- [addRecordFetcher initWithRequest:request
+ OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] initWithRequest:request
delegate:_delegate
didFinishSelector:_sSel
- didFailSelector:_eSel];
+ didFailSelector:_eSel] autorelease];
[addRecordFetcher start];
// [addRecordFetcher release];
[parameters release];
@@ -1086,11 +1081,10 @@ - (void)sendTwitterWithStatus:(NSString *)_status lat:(double)_lat lng:(double)_
[request prepare];
- OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] init] autorelease];
- [addRecordFetcher initWithRequest:request
+ OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] initWithRequest:request
delegate:_delegate
didFinishSelector:_sSel
- didFailSelector:_eSel];
+ didFailSelector:_eSel] autorelease];
[addRecordFetcher start];
// [addRecordFetcher release];
}
@@ -1208,11 +1202,10 @@ - (void)sendWyRecordWithStatus:(NSString *)_status lat:(double)_lat lng:(double)
[request prepare];
- OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] init] autorelease];
- [addRecordFetcher initWithRequest:request
+ OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] initWithRequest:request
delegate:_delegate
didFinishSelector:_sSel
- didFailSelector:_eSel];
+ didFailSelector:_eSel] autorelease];
[addRecordFetcher start];
// [addRecordFetcher release];
}
@@ -1291,11 +1284,10 @@ - (void)sendWyPhotoWithStatus:(NSString *)_status lat:(double)_lat lng:(double)_
[request prepare];
- OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] init] autorelease];
- [addRecordFetcher initWithRequest:request
+ OAAsynchronousDataFetcher *addRecordFetcher = [[[OAAsynchronousDataFetcher alloc] initWithRequest:request
delegate:_delegate
didFinishSelector:_successSEL
- didFailSelector:_failSEL];
+ didFailSelector:_failSEL] autorelease];
[addRecordFetcher start];
// [addRecordFetcher release];
}

0 comments on commit e43106e

Please sign in to comment.