From: <rly...@us...> - 2010-12-23 21:35:02
|
Revision: 6571 http://planeshift.svn.sourceforge.net/planeshift/?rev=6571&view=rev Author: rlydontknow Date: 2010-12-23 21:34:56 +0000 (Thu, 23 Dec 2010) Log Message: ----------- fixed memleak/logic failure Modified Paths: -------------- trunk/src/client/charapp.cpp Modified: trunk/src/client/charapp.cpp =================================================================== --- trunk/src/client/charapp.cpp 2010-12-23 21:33:41 UTC (rev 6570) +++ trunk/src/client/charapp.cpp 2010-12-23 21:34:56 UTC (rev 6571) @@ -932,7 +932,7 @@ csRef<iMaterialWrapper> material; if(materialName != NULL) { - psengine->GetLoader()->LoadMaterial(materialName, &failed); + material = psengine->GetLoader()->LoadMaterial(materialName, &failed); if(failed) { Notify2(LOG_CHARACTER, "Material %s not found.", materialName); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |