On 4/11/2014 11:27, Dmitry Timoshkov wrote:
static HRESULT WINAPI RegistrationInfo_put_Description(IRegistrationInfo *iface, BSTR description) {
- FIXME("%p,%p: stub\n", iface, debugstr_w(description));
- return E_NOTIMPL;
- registration_info *reginfo = impl_from_IRegistrationInfo(iface);
- TRACE("%p,%p\n", iface, debugstr_w(description));
- if (!description) return E_INVALIDARG;
- reginfo->description = heap_strdupW(description);
- /* FIXME: update XML on the server side */
- return reginfo->description ? S_OK : E_OUTOFMEMORY;
Looks like you need to free previously set string.