diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-04 19:26:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-04 19:26:46 +0000 |
commit | fba57c10d9f9552c9c31c20283147348789ef650 (patch) | |
tree | 165c4c7ed8fad3c092bf455abf99af4a7a058383 /protocols/Gadu-Gadu/src/groupchat.cpp | |
parent | 73504917190e8d183212ec62ad1668d3e72901a7 (diff) |
some code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@7499 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/groupchat.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/groupchat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/groupchat.cpp b/protocols/Gadu-Gadu/src/groupchat.cpp index ad7933052f..0845a550be 100644 --- a/protocols/Gadu-Gadu/src/groupchat.cpp +++ b/protocols/Gadu-Gadu/src/groupchat.cpp @@ -97,7 +97,7 @@ int GGPROTO::gc_destroy() for(l = chats; l; l = l->next)
{
GGGC *chat = (GGGC *)l->data;
- if (chat->recipients) free(chat->recipients);
+ free(chat->recipients);
}
list_destroy(chats, 1); chats = NULL;
return 1;
@@ -606,7 +606,7 @@ INT_PTR GGPROTO::gc_clearignored(WPARAM wParam, LPARAM lParam) l = l->next;
if (chat->ignore)
{
- if (chat->recipients) free(chat->recipients);
+ free(chat->recipients);
list_remove(&chats, chat, 1);
cleared = TRUE;
}
|