summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_svc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-21 13:40:52 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-21 13:40:52 +0000
commitc69a9c892f52056d452ad8520e6c09b6956f30e3 (patch)
treecf26cee03ae18c38486515e94ec18068b38cbd41 /protocols/JabberG/src/jabber_svc.cpp
parent8b6824e3ec3ed7340db33bcbe592321b6afb0a00 (diff)
smart pointers for Jabber resources
git-svn-id: http://svn.miranda-ng.org/main/trunk@6155 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_svc.cpp')
-rw-r--r--protocols/JabberG/src/jabber_svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_svc.cpp b/protocols/JabberG/src/jabber_svc.cpp
index 5a507af5f0..de10ebd483 100644
--- a/protocols/JabberG/src/jabber_svc.cpp
+++ b/protocols/JabberG/src/jabber_svc.cpp
@@ -396,7 +396,7 @@ INT_PTR __cdecl CJabberProto::JabberGCGetToolTipText(WPARAM wParam, LPARAM lPara
if (item == NULL)
return 0; //no room found
- JABBER_RESOURCE_STATUS *info = item->findResource((TCHAR*)lParam);
+ pResourceStatus info( item->findResource((TCHAR*)lParam));
if (info == NULL)
return 0; //no info found