Author: sayer
Date: 2008-12-03 05:25:38 +0100 (Wed, 03 Dec 2008)
New Revision: 1158
Modified:
trunk/apps/ivr/IvrDialogBase.cpp
Log:
fixing possible memory leak
Modified: trunk/apps/ivr/IvrDialogBase.cpp
===================================================================
--- trunk/apps/ivr/IvrDialogBase.cpp 2008-12-03 03:10:19 UTC (rev 1157)
+++ trunk/apps/ivr/IvrDialogBase.cpp 2008-12-03 04:25:38 UTC (rev 1158)
@@ -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