Author: sayer
Date: 2008-12-03 11:55:57 +0100 (Wed, 03 Dec 2008)
New Revision: 1160

Modified:
   branches/1.0.0/apps/ivr/IvrDialogBase.cpp
Log:
fixes memory leak (backport from trunk)

Modified: branches/1.0.0/apps/ivr/IvrDialogBase.cpp
===================================================================
--- branches/1.0.0/apps/ivr/IvrDialogBase.cpp   2008-12-03 10:55:13 UTC (rev 
1159)
+++ branches/1.0.0/apps/ivr/IvrDialogBase.cpp   2008-12-03 10:55:57 UTC (rev 
1160)
@@ -73,6 +73,9 @@
 {
   DBG("IvrDialogBase_dealloc\n");
   Py_XDECREF(self->dialog);
+  self->dialog=NULL;
+  Py_XDECREF(self->invite_req);
+  self->invite_req=NULL;
   self->ob_type->tp_free((PyObject*)self);
 }
 

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to