summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_groupchat.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-03 18:28:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-03 18:28:20 +0000
commit784c2757e8c791b4c76a6e739f08b0fb92ec093a (patch)
treeba42917a56f96f8b5d6f55edb36d9fc337ca1b39 /protocols/JabberG/src/jabber_groupchat.cpp
parent9026d578dc4b14aa12c51a2147bb999703efbb36 (diff)
- old junk removed;
- mir_free() doesn't require a check git-svn-id: http://svn.miranda-ng.org/main/trunk@6321 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_groupchat.cpp')
-rw-r--r--protocols/JabberG/src/jabber_groupchat.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_groupchat.cpp b/protocols/JabberG/src/jabber_groupchat.cpp
index 7e14ae7c32..9d4c57674a 100644
--- a/protocols/JabberG/src/jabber_groupchat.cpp
+++ b/protocols/JabberG/src/jabber_groupchat.cpp
@@ -556,10 +556,9 @@ INT_PTR CJabberDlgGcJoin::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
break;
RoomInfo *info = (RoomInfo *)lpdis->itemData;
- if (info->line1) mir_free(info->line1);
- if (info->line2) mir_free(info->line2);
+ mir_free(info->line1);
+ mir_free(info->line2);
mir_free(info);
-
break;
}