oledb32: Remove redundant NULL check before CoTaskMemFree().

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2020-04-16 00:08:28 +02:00 committed by Alexandre Julliard
parent f6c131f5f3
commit c0041d70c4
1 changed files with 1 additions and 2 deletions

View File

@ -72,8 +72,7 @@ static void destroy_datasource(struct datasource *data)
CoTaskMemFree(data->propinfoset->rgPropertyInfos);
CoTaskMemFree(data->propinfoset);
}
if (data->description)
CoTaskMemFree(data->description);
CoTaskMemFree(data->description);
if (data->provider)
IDBProperties_Release(data->provider);