StringFromCLSID missing call to IMalloc_Release
authorRoyce Mitchell III <royce3@ev1.net>
Fri, 18 Jul 2003 04:01:58 +0000 (04:01 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Fri, 18 Jul 2003 04:01:58 +0000 (04:01 +0000)
svn path=/trunk/; revision=5158

reactos/lib/ole32/compobj.c

index 534937b..bfd7cbc 100644 (file)
@@ -628,6 +628,7 @@ HRESULT WINAPI StringFromCLSID(
             *idstr = IMalloc_Alloc( mllc, len * sizeof(WCHAR) );
             MultiByteToWideChar( CP_ACP, 0, buf, -1, *idstr, len );
        }
+       IMalloc_Release ( mllc );
        return ret;
 }