diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-03-12 17:17:22 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-03-12 17:28:52 +0100 |
commit | 61a1e5934a60586d9385d957c119a1ea5913c0cc (patch) | |
tree | da757448e74f8d3142f1981d3656ca3aad60a84a | |
parent | 6c6d9793730b836e761adba1d02694c133047b09 (diff) |
dbaccess: PVS-Studio V522 Dereferencing of null pointer 'piTmpConnection'
Change-Id: I30b2a0f2b3bc82b534a3463aa7f842edf194bdf7
-rw-r--r-- | dbaccess/source/ui/dlg/adodatalinks.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/adodatalinks.cxx b/dbaccess/source/ui/dlg/adodatalinks.cxx index e9dd1d88a359..2cf32be1e879 100644 --- a/dbaccess/source/ui/dlg/adodatalinks.cxx +++ b/dbaccess/source/ui/dlg/adodatalinks.cxx @@ -81,15 +81,12 @@ BSTR PromptNew(long hWnd) ); if( FAILED( hr ) ) { - piTmpConnection->Release( ); - dlPrompt->Release( ); return connstr; } dlPrompt->put_hWnd(hWnd); if( FAILED( hr ) ) { - piTmpConnection->Release( ); dlPrompt->Release( ); return connstr; } |