Module: wine Branch: master Commit: b7fd8972db36325f00905c05245f57f0c6727ed4 URL: https://gitlab.winehq.org/wine/wine/-/commit/b7fd8972db36325f00905c05245f57f...
Author: Michael Stefaniuc mstefani@winehq.org Date: Tue Mar 28 19:28:05 2023 +0200
msdasql: Remove redundant NULL check before heap_free().
---
dlls/msdasql/session.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/msdasql/session.c b/dlls/msdasql/session.c index 588be365b72..3e6e5f2a0b3 100644 --- a/dlls/msdasql/session.c +++ b/dlls/msdasql/session.c @@ -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);