minor : Fixed ntfs_upcase_build_default() returning garbage in error case (Fabian Keil)

This commit is contained in:
Jean-Pierre André 2011-08-04 15:49:35 +02:00
parent f10f067c7b
commit fa3d7a5728

View File

@ -1262,7 +1262,7 @@ void ntfs_upcase_table_build(ntfschar *uc, u32 uc_len)
u32 ntfs_upcase_build_default(ntfschar **upcase)
{
u32 upcase_len;
u32 upcase_len = 0;
*upcase = (ntfschar*)ntfs_malloc(UPCASE_LEN*2);
if (*upcase) {