[mythtv-commits] mythtv commit: r22307 by stuartm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Oct 8 16:02:22 UTC 2009


      Author: stuartm
        Date: 2009-10-08 16:02:22 +0000 (Thu, 08 Oct 2009)
New Revision: 22307
   Changeset: http://cvs.mythtv.org/trac/changeset/22307

Modified:

   trunk/mythtv/libs/libmythui/mythgenerictree.cpp

Log:

Set the child pointers to NULL following deletion of the child nodes. Since the nodes are referenced by these pointers outside the class this should prevent segfaults if code attempts to use a deleted node, assuming it checks for a null pointer first.




More information about the mythtv-commits mailing list