summaryrefslogtreecommitdiffstats
path: root/dbaccess
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-12 17:17:22 +0100
committerMichael Stahl <mstahl@redhat.com>2015-03-12 17:28:52 +0100
commit61a1e5934a60586d9385d957c119a1ea5913c0cc (patch)
treeda757448e74f8d3142f1981d3656ca3aad60a84a /dbaccess
parentextensions: PVS-Studio V716 Suspicious type conversion: BOOL -> HRESULT (diff)
downloadcore-61a1e5934a60586d9385d957c119a1ea5913c0cc.tar.gz
core-61a1e5934a60586d9385d957c119a1ea5913c0cc.zip
dbaccess: PVS-Studio V522 Dereferencing of null pointer 'piTmpConnection'
Change-Id: I30b2a0f2b3bc82b534a3463aa7f842edf194bdf7
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/dlg/adodatalinks.cxx3
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;
}