Revision: 7187
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7187&view=rev
Author:   hofman
Date:     2011-03-28 12:32:26 +0000 (Mon, 28 Mar 2011)

Log Message:
-----------
don't zero memory of buffer

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

Modified: trunk/NSString_SKExtensions.m
===================================================================
--- trunk/NSString_SKExtensions.m       2011-03-28 09:53:16 UTC (rev 7186)
+++ trunk/NSString_SKExtensions.m       2011-03-28 12:32:26 UTC (rev 7187)
@@ -73,7 +73,6 @@
         buffer = (UniChar *)CFAllocatorAllocate(allocator, length * 
sizeof(UniChar), 0);
     } else {
         buffer = stackBuffer;
-        memset(&buffer, 0, sizeof(buffer));
     }
     
     NSCAssert1(buffer != NULL, @"failed to allocate memory for string of 
length %ld", (long)length);


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

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to