From 5e01c907bf4cace9542f880bae418f71c0fd0c07 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 24 Oct 2013 15:21:30 +0000 Subject: more warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@6608 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_aniavatars.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Clist_modern/src/modern_aniavatars.cpp') diff --git a/plugins/Clist_modern/src/modern_aniavatars.cpp b/plugins/Clist_modern/src/modern_aniavatars.cpp index 093f0852e6..02690cff9d 100644 --- a/plugins/Clist_modern/src/modern_aniavatars.cpp +++ b/plugins/Clist_modern/src/modern_aniavatars.cpp @@ -250,7 +250,7 @@ int AniAva_UnloadModule() for (i=0; i < s_AniAvatarList.getCount(); i++) { ANIAVA_INFO *aai = s_AniAvatarList[i]; mir_free(aai->tcsFilename); - if (aai->pFrameDelays) free(aai->pFrameDelays); + free(aai->pFrameDelays); mir_free(aai); } s_AniAvatarList.destroy(); @@ -529,7 +529,7 @@ static void _AniAva_RealRemoveAvatar(DWORD UniqueID) _AniAva_PausePainting(); mir_free(aai->tcsFilename); - if (aai->pFrameDelays) free(aai->pFrameDelays); + free(aai->pFrameDelays); _AniAva_ReduceAvatarImages(aai->nStripTop,aai->FrameSize.cx*aai->nFrameCount, FALSE); for (int k = 0; k < s_AniAvatarList.getCount(); k++) if (k != j) { -- cgit v1.2.3