From 4774f691493bfaf06d36c18e902a02bf7c9b31f8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 18 Mar 2013 07:39:58 +0000 Subject: fix for crash in UInfoEx on empty combos git-svn-id: http://svn.miranda-ng.org/main/trunk@4083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/src/ctrl_combo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/UserInfoEx') diff --git a/plugins/UserInfoEx/src/ctrl_combo.cpp b/plugins/UserInfoEx/src/ctrl_combo.cpp index ba9fd4acea..fea79fe997 100644 --- a/plugins/UserInfoEx/src/ctrl_combo.cpp +++ b/plugins/UserInfoEx/src/ctrl_combo.cpp @@ -150,7 +150,7 @@ VOID CCombo::Release() **/ BOOL CCombo::OnInfoChanged(HANDLE hContact, LPCSTR pszProto) { - if (!_Flags.B.hasChanged) + if (!_Flags.B.hasChanged && _pList != NULL) { DBVARIANT dbv; LPIDSTRLIST pItem = NULL; -- cgit v1.2.3