From: Jorrit T. <jo...@us...> - 2004-08-23 12:24:03
|
Update of /cvsroot/planeshift/planeshift/src/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv789/src/client Modified Files: entitylabels.cpp entitylabels.h psengine.cpp psengine.h Log Message: - Added several leak guards through PS in an attempt to fix leaks in PS too. Index: entitylabels.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/entitylabels.cpp,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** entitylabels.cpp 27 Jul 2004 11:20:01 -0000 1.32 --- entitylabels.cpp 23 Aug 2004 12:23:43 -0000 1.33 *************** *** 48,51 **** --- 48,52 ---- + CS_LEAKGUARD_IMPLEMENT (psEntityLabels) SCF_IMPLEMENT_IBASE(psEntityLabels) Index: entitylabels.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/entitylabels.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** entitylabels.h 23 Aug 2004 11:39:49 -0000 1.10 --- entitylabels.h 23 Aug 2004 12:23:44 -0000 1.11 *************** *** 29,32 **** --- 29,33 ---- #include <ivideo/fontserv.h> #include <csutil/plugmgr.h> + #include <csutil/leakguard.h> #include <iutil/eventh.h> *************** *** 57,60 **** --- 58,63 ---- { public: + CS_LEAKGUARD_DECLARE (psEntityLabels); + psEntityLabels(); virtual ~psEntityLabels(); Index: psengine.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/psengine.cpp,v retrieving revision 1.401 retrieving revision 1.402 diff -C2 -d -r1.401 -r1.402 *** psengine.cpp 15 Aug 2004 20:20:05 -0000 1.401 --- psengine.cpp 23 Aug 2004 12:23:44 -0000 1.402 *************** *** 192,195 **** --- 192,197 ---- // ---------------------------------------------------------------------------- + CS_LEAKGUARD_IMPLEMENT (psEngine) + CS_IMPLEMENT_APPLICATION Index: psengine.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/psengine.h,v retrieving revision 1.129 retrieving revision 1.130 diff -C2 -d -r1.129 -r1.130 *** psengine.h 23 Aug 2004 11:39:49 -0000 1.129 --- psengine.h 23 Aug 2004 12:23:44 -0000 1.130 *************** *** 24,27 **** --- 24,28 ---- #include <csutil/csstring.h> #include <csutil/ref.h> + #include <csutil/leakguard.h> #include "iclient/psengine.h" *************** *** 75,79 **** { public: ! enum LoadState --- 76,80 ---- { public: ! CS_LEAKGUARD_DECLARE (psEngine); enum LoadState |