Coverity issues

Some memleaks, possible integer overflows.

It seems something is not ok with indentation in CCreatureHandler.cpp, but everything was ok in my IDE. Do you have any style guidelines?
Shouldn't this be:
'''C++
#ifdef _WIN32
FreeLibrary(dll);
#else
dlclose(dll);
#endif
'''
?