summaryrefslogtreecommitdiff
path: root/src/modules/fonts/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/fonts/services.cpp')
-rw-r--r--src/modules/fonts/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fonts/services.cpp b/src/modules/fonts/services.cpp
index 7ec7d0397b..74c8ba9860 100644
--- a/src/modules/fonts/services.cpp
+++ b/src/modules/fonts/services.cpp
@@ -146,7 +146,7 @@ int GetFontSettingFromDB(char *settings_group, char *prefix, LOGFONT* lf, COLORR
if ( !DBGetContactSettingTString(NULL, settings_group, idstr, &dbv)) {
_tcscpy(lf->lfFaceName, dbv.ptszVal);
- DBFreeVariant(&dbv);
+ db_free(&dbv);
}
else retval = 1;