summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/ownerinfo.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-04 19:26:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-04 19:26:46 +0000
commitfba57c10d9f9552c9c31c20283147348789ef650 (patch)
tree165c4c7ed8fad3c092bf455abf99af4a7a058383 /protocols/Gadu-Gadu/src/ownerinfo.cpp
parent73504917190e8d183212ec62ad1668d3e72901a7 (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/ownerinfo.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/ownerinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/ownerinfo.cpp b/protocols/Gadu-Gadu/src/ownerinfo.cpp
index a8f56eb856..25bb183156 100644
--- a/protocols/Gadu-Gadu/src/ownerinfo.cpp
+++ b/protocols/Gadu-Gadu/src/ownerinfo.cpp
@@ -39,7 +39,7 @@ void __cdecl GGPROTO::remindpasswordthread(void *param)
debugLogA("remindpasswordthread(): Started.");
if (!rp || !rp->email || !rp->uin || !strlen(rp->email))
{
- if (rp) free(rp);
+ free(rp);
#ifdef DEBUGMODE
debugLogA("remindpasswordthread(): End. err1");
#endif
@@ -68,7 +68,7 @@ void __cdecl GGPROTO::remindpasswordthread(void *param)
MessageBox(NULL, TranslateT("Password was sent to your e-mail."), m_tszUserName, MB_OK | MB_ICONINFORMATION);
}
- if (rp) free(rp);
+ free(rp);
#ifdef DEBUGMODE
debugLogA("remindpasswordthread(): End.");
#endif