From bc2456524497b02794402bb1d3be9ba9bd4f1ae9 Mon Sep 17 00:00:00 2001 From: Stuart Connolly Date: Wed, 28 May 2014 19:02:03 +0100 Subject: Fix memory leaks. --- Source/SPExportInitializer.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/SPExportInitializer.m') diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m index 0d6d718a..bb59dd60 100644 --- a/Source/SPExportInitializer.m +++ b/Source/SPExportInitializer.m @@ -451,11 +451,11 @@ if ([problemFiles count] > 0) { [self errorCreatingExportFileHandles:problemFiles]; } - else { - [problemFiles release]; - + else { [self startExport]; } + + [problemFiles release]; } /** -- cgit v1.2.3