[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-commits] CVS: adonthell/src adonthell.h,1.4,1.5 main.cc,1.53,
From: |
Kai Sterker <address@hidden> |
Subject: |
[Adonthell-commits] CVS: adonthell/src adonthell.h,1.4,1.5 main.cc,1.53,1.54 python_class.cc,1.8,1.9 |
Date: |
Sun, 29 Sep 2002 14:22:28 -0400 |
Update of /cvsroot/adonthell/adonthell/src
In directory subversions:/tmp/cvs-serv21978
Modified Files:
adonthell.h main.cc python_class.cc
Log Message:
FIXED double free of data::globals
Index: adonthell.h
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/adonthell.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** adonthell.h 26 May 2002 09:27:27 -0000 1.4
--- adonthell.h 29 Sep 2002 18:22:25 -0000 1.5
***************
*** 48,52 ****
*/
adonthell ();
!
/**
* @name The engine's main loop
--- 48,52 ----
*/
adonthell ();
!
/**
* @name The engine's main loop
Index: main.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/main.cc,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -r1.53 -r1.54
*** main.cc 21 Aug 2002 21:15:53 -0000 1.53
--- main.cc 29 Sep 2002 18:22:25 -0000 1.54
***************
*** 194,201 ****
// shutdown python
- // Cleanup the global namespace of python interpreter
- // Note that we don't have to DECREF data::globals, because they're a
- // borrowed reference of py_module.
- Py_DECREF (python::module);
python::cleanup ();
--- 194,197 ----
Index: python_class.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/python_class.cc,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** python_class.cc 28 Sep 2002 17:21:50 -0000 1.8
--- python_class.cc 29 Sep 2002 18:22:25 -0000 1.9
***************
*** 42,45 ****
--- 42,48 ----
void python::cleanup ()
{
+ // Cleanup the global namespace of python interpreter
+ // Note that we don't have to DECREF data::globals, because they're a
+ // borrowed reference of py_module.
Py_XDECREF (module);
Py_Finalize ();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Adonthell-commits] CVS: adonthell/src adonthell.h,1.4,1.5 main.cc,1.53,1.54 python_class.cc,1.8,1.9,
Kai Sterker <address@hidden> <=