]> err.no Git - sope/commitdiff
fixed init
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 7 Jul 2005 15:51:48 +0000 (15:51 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 7 Jul 2005 15:51:48 +0000 (15:51 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@870 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-xml/samples/rssparse.m

index 2371121fd72de9749f9415f50fa81df18495aa4c..fb41a93005f02e2e988679130426d0359b0c1354 100644 (file)
 
 int main(int argc, char **argv, char **env) {
   NSAutoreleasePool *pool;
+  
+  pool = [[NSAutoreleasePool alloc] init];
 #if LIB_FOUNDATION_LIBRARY
   [NSProcessInfo initializeWithArguments:argv count:argc environment:env];
 #endif
   
-  pool = [[NSAutoreleasePool alloc] init];
-
   if ([[[NSProcessInfo processInfo] arguments] count] < 2) {
     fprintf(stderr, "usage: %s <rssfile>\n",
            [[[[NSProcessInfo processInfo] arguments] lastObject] cString]);