Revision: 5475
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5475&view=rev
Author:   hofman
Date:     2009-07-14 09:01:27 +0000 (Tue, 14 Jul 2009)

Log Message:
-----------
fix a leak

Modified Paths:
--------------
    trunk/Files_SKExtensions.m

Modified: trunk/Files_SKExtensions.m
===================================================================
--- trunk/Files_SKExtensions.m  2009-07-13 12:25:49 UTC (rev 5474)
+++ trunk/Files_SKExtensions.m  2009-07-14 09:01:27 UTC (rev 5475)
@@ -143,6 +143,7 @@
         [tmpDirName getCharacters:tmpName];
         success = noErr == FSPathMakeRef((UInt8 *)[basePath 
fileSystemRepresentation], &tmpRef, NULL) &&
                   noErr == FSCreateDirectoryUnicode(&tmpRef, length, tmpName, 
kFSCatInfoNone, NULL, NULL, NULL, NULL);
+        NSZoneFree(NULL, tmpName);
     }
     
     return success ? [basePath stringByAppendingPathComponent:tmpDirName] : 
nil;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to