From: Michael J. Rubinsky Date: Fri, 3 Sep 2010 19:19:47 +0000 (-0400) Subject: Fix memory management issue X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=99875ac50a20ca90c272252e6ae0e47941d3b83a;p=horde.git Fix memory management issue --- diff --git a/ApertureToAnselExportPlugin/TURAnselKit/TURAnselGallery.m b/ApertureToAnselExportPlugin/TURAnselKit/TURAnselGallery.m index 5506a001b..75130d158 100644 --- a/ApertureToAnselExportPlugin/TURAnselKit/TURAnselGallery.m +++ b/ApertureToAnselExportPlugin/TURAnselKit/TURAnselGallery.m @@ -217,7 +217,7 @@ kTURAnselAPIParamSingleParameter, nil]; } else { - params = [[NSArray alloc] initWithObjects: + params = [NSArray arrayWithObjects: @"ansel", // app [NSNumber numberWithInt: _galleryId], // gallery_id [imageParameters valueForKey: @"data"], // image data array @@ -245,7 +245,5 @@ waitUntilDone: NO]; } } - - [params release]; } @end