Fix memory management issue
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 3 Sep 2010 19:19:47 +0000 (15:19 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 3 Sep 2010 19:19:47 +0000 (15:19 -0400)
ApertureToAnselExportPlugin/TURAnselKit/TURAnselGallery.m

index 5506a00..75130d1 100644 (file)
                                            kTURAnselAPIParamSingleParameter,
                                            nil];
     } else {
-        params = [[NSArray alloc] initWithObjects:
+        params = [NSArray arrayWithObjects:
                            @"ansel",                                  // app
                            [NSNumber numberWithInt: _galleryId],      // gallery_id
                            [imageParameters valueForKey: @"data"],    // image data array
                                     waitUntilDone: NO];
         }
     }
-
-    [params release];
 }
 @end