summaryrefslogtreecommitdiff
path: root/popup/src
diff options
context:
space:
mode:
Diffstat (limited to 'popup/src')
-rw-r--r--popup/src/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/popup/src/common.h b/popup/src/common.h
index b3ce289..d975e0d 100644
--- a/popup/src/common.h
+++ b/popup/src/common.h
@@ -137,7 +137,8 @@ inline INT_PTR DBGetContactSettingStringX(HANDLE hContact, const char *ModuleNam
default:
break;
}
- CallService(MS_DB_CONTACT_FREEVARIANT, 0, (LPARAM)&dbv);
+ if(!result)
+ CallService(MS_DB_CONTACT_FREEVARIANT, 0, (LPARAM)&dbv);
return ret;
}