oleaut32: Properly free record name (Valgrind).

This commit is contained in:
Nikolay Sivov 2014-04-23 11:21:53 +04:00 committed by Alexandre Julliard
parent aa7185a098
commit 383686275a
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ static ULONG WINAPI IRecordInfoImpl_Release(IRecordInfo *iface)
int i;
for(i=0; i<This->n_vars; i++)
SysFreeString(This->fields[i].name);
HeapFree(GetProcessHeap(), 0, This->name);
SysFreeString(This->name);
HeapFree(GetProcessHeap(), 0, This->fields);
ITypeInfo_Release(This->pTypeInfo);
HeapFree(GetProcessHeap(), 0, This);