Changeset 21354 for trunk/src/crypt32/str.c
- Timestamp:
- Feb 21, 2010, 5:32:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/crypt32/str.c
r21311 r21354 17 17 */ 18 18 #include <stdarg.h> 19 #include <string.h> 20 #include <ctype.h> 19 21 #include "windef.h" 20 22 #include "winbase.h" … … 277 279 else rdn++; 278 280 } 279 LocalFree( info);281 LocalFree((HANDLE)info); 280 282 } 281 283 if (psz && csz) … … 457 459 else rdn++; 458 460 } 459 LocalFree( info);461 LocalFree((HANDLE)info); 460 462 } 461 463 if (psz && csz) … … 499 501 LPWSTR x500, errorStr; 500 502 501 if ((x500 = CryptMemAlloc(len * sizeof(WCHAR))) )503 if ((x500 = CryptMemAlloc(len * sizeof(WCHAR))) != NULL) 502 504 { 503 505 MultiByteToWideChar(CP_ACP, 0, pszX500, -1, x500, len); … … 746 748 BOOL ret = FALSE; 747 749 748 TRACE("OID %s, value %s\n", debugstr_a(keyOID->pszOID), 749 debugstr_wn(value->start, value->end - value->start)); 750 TRACE("OID %s, value %s\n", debugstr_a(keyOID->pszOID), debugstr_wn(value->start, value->end - value->start)); 750 751 751 752 if (!info->rgRDN) … … 882 883 883 884 for (j = 0; j < info.rgRDN[i].cRDNAttr; j++) 884 LocalFree( info.rgRDN[i].rgRDNAttr[j].Value.pbData);885 LocalFree((HANDLE)info.rgRDN[i].rgRDNAttr[j].Value.pbData); 885 886 CryptMemFree(info.rgRDN[i].rgRDNAttr); 886 887 } … … 998 999 ret = 0; 999 1000 if (info) 1000 LocalFree( info);1001 LocalFree((HANDLE)info); 1001 1002 break; 1002 1003 }
Note:
See TracChangeset
for help on using the changeset viewer.