Commit 650bd948 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

ole32: Remove redundant NULL check before CoTaskMemFree().

parent 78a8445a
...@@ -41,11 +41,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole); ...@@ -41,11 +41,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
static void release_statdata(STATDATA *data) static void release_statdata(STATDATA *data)
{ {
if(data->formatetc.ptd) CoTaskMemFree(data->formatetc.ptd);
{ data->formatetc.ptd = NULL;
CoTaskMemFree(data->formatetc.ptd);
data->formatetc.ptd = NULL;
}
if(data->pAdvSink) if(data->pAdvSink)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment