summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-26 18:45:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-26 18:45:50 +0000
commit789b08bcc84bb0b0b107159c5c0e5d67e2c53db4 (patch)
tree3a68b5b9be175ecda478eb41237e7d2f627c7853 /src
parent24b242624cbdfd2b4abf3466d37963ed6570f9a7 (diff)
no need to call FreeVariant twice
git-svn-id: http://svn.miranda-ng.org/main/trunk@13173 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/src/db.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mir_core/src/db.cpp b/src/mir_core/src/db.cpp
index 7f723a21cf..22e6b3e8df 100644
--- a/src/mir_core/src/db.cpp
+++ b/src/mir_core/src/db.cpp
@@ -71,7 +71,6 @@ MIR_CORE_DLL(DWORD) db_get_dw(MCONTACT hContact, const char *szModule, const cha
case DBVT_BYTE: return dbv.bVal;
case DBVT_WORD: return dbv.wVal;
case DBVT_DWORD: return dbv.dVal;
- default: currDb->FreeVariant(&dbv);
}
currDb->FreeVariant(&dbv);
}