Take the 2008 Git User's Survey and help out! [ hide ]

public
Description: An OS X application to build a standalone web site as an export from my photo album.
Homepage: http://bleu.west.spy.net/~dustin/projects/photosync/
Clone URL: git://github.com/dustin/photosync.git
Search Repo:
manually autorelease a mutableurlrequest to work around a bug in gswebkit
dustin (author)
Sun Feb 13 00:41:13 -0800 2005
commit  58da9c6423056a784fd12a8318b6c41879d301ae
tree    134e0779c18e126b0f857eb17652fbb6bf3073c2
parent  aa92b7306ebd0aede3b660206181c0b075e1b3d2
...
67
68
69
70
 
 
71
72
73
...
92
93
94
 
95
96
97
...
67
68
69
 
70
71
72
73
74
...
93
94
95
96
97
98
99
0
@@ -67,7 +67,8 @@
0
       [base stringByAppendingString: @"/login.do"]];
0
   
0
     // We should post the credentials so they don't show up in the logs
0
- NSMutableURLRequest *theRequest=[NSMutableURLRequest requestWithURL:url
0
+ NSMutableURLRequest *theRequest=[[NSMutableURLRequest alloc]
0
+ initWithURL: url
0
       cachePolicy:NSURLRequestReloadIgnoringCacheData
0
       timeoutInterval:60.0];
0
     [theRequest setHTTPMethod: @"POST"];
0
@@ -92,6 +93,7 @@
0
     }
0
     
0
     [url release];
0
+ [theRequest autorelease];
0
   } else {
0
     NSLog(@"Not authenticating (but logging out) %@ - no username", base);
0
     NSURL *url=[[NSURL alloc] initWithString:

Comments

    No one has commented yet.