[mythtv-commits] Ticket #7714: Mythfilldatabase segfaults after completing

MythTV mythtv at cvs.mythtv.org
Sun Oct 3 22:35:24 UTC 2010

#7714: Mythfilldatabase segfaults after completing
 Reporter:  superm1@…                  |           Owner:  mdean     
     Type:  defect                     |          Status:  assigned  
 Priority:  trivial                    |       Milestone:  unknown   
Component:  MythTV - Mythfilldatabase  |         Version:  Trunk Head
 Severity:  low                        |      Resolution:            
 Keywords:                             |   Ticket locked:  0         

Comment (by mdean):

 (In [26629]) Refs #7714.  Add a cleanup guard to mythfilldatabase to
 ensure we always delete the gContext and set it to NULL regardless of
 where we exit.

 Although all returns from mythfilldatabase's main() function properly
 deleted the gContext, we did not set gContext to NULL after the delete.
 Therefore, the only real difference in this patch is setting gContext to
 NULL after deleting it.

Ticket URL: <http://svn.mythtv.org/trac/ticket/7714#comment:11>
MythTV <http://www.mythtv.org/>
MythTV Media Center

More information about the mythtv-commits mailing list