ole32: Avoid potential NULL pointer dereferences in a TRACE.
This commit is contained in:
parent
41809d5833
commit
162e420f0e
|
@ -1266,10 +1266,10 @@ static HRESULT WINAPI snapshot_GetDataHere(IDataObject *iface, FORMATETC *fmt,
|
|||
ole_priv_data_entry *entry;
|
||||
TYMED supported;
|
||||
|
||||
TRACE("(%p, %p {%s}, %p (tymed %x)\n", iface, fmt, dump_fmtetc(fmt), med, med->tymed);
|
||||
|
||||
if ( !fmt || !med ) return E_INVALIDARG;
|
||||
|
||||
TRACE("(%p, %p {%s}, %p (tymed %x)\n", iface, fmt, dump_fmtetc(fmt), med, med->tymed);
|
||||
|
||||
if ( !OpenClipboard(NULL)) return CLIPBRD_E_CANT_OPEN;
|
||||
|
||||
if(!This->data)
|
||||
|
|
Loading…
Reference in New Issue