mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
StringFromCLSID missing call to IMalloc_Release
svn path=/trunk/; revision=5158
This commit is contained in:
parent
c79e8b6c63
commit
f064f64b1d
1 changed files with 1 additions and 0 deletions
|
@ -628,6 +628,7 @@ HRESULT WINAPI StringFromCLSID(
|
||||||
*idstr = IMalloc_Alloc( mllc, len * sizeof(WCHAR) );
|
*idstr = IMalloc_Alloc( mllc, len * sizeof(WCHAR) );
|
||||||
MultiByteToWideChar( CP_ACP, 0, buf, -1, *idstr, len );
|
MultiByteToWideChar( CP_ACP, 0, buf, -1, *idstr, len );
|
||||||
}
|
}
|
||||||
|
IMalloc_Release ( mllc );
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue