Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#4587 ChangeIcon.cpp line 214

Unverified
open
nobody
None
5
2013-11-27
2013-11-27
Andrei
No

ChangeIcon.cpp line 214 - "if(!UpdateResource(hUpdate, RT_GROUP_ICON, lpResName, resLangId, resData, cbRes)) { _tprintf(_T("Unable to update icon group\n")); delete resData; return false; }"
and line 216 - "delete resData;"
Mismatching allocation and deallocation: resData. Must be "delete [] resData;"

Discussion