msdasql: Remove redundant NULL check before heap_free().

This commit is contained in:
Michael Stefaniuc 2023-03-28 19:28:05 +02:00 committed by Alexandre Julliard
parent da0ec7fbbd
commit b7fd8972db

View file

@ -693,8 +693,7 @@ static ULONG WINAPI command_Release(ICommandText *iface)
if (!refs)
{
TRACE( "destroying %p\n", command );
if (command->properties)
heap_free(command->properties);
heap_free(command->properties);
if (command->session)
IUnknown_Release(command->session);