[mythtv-commits] Ticket #4670: If buffer alloc fails, dvd file should be closed

MythTV mythtv at cvs.mythtv.org
Tue Feb 19 12:09:35 UTC 2008


#4670: If buffer alloc fails, dvd file should be closed
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |        Owner:  ijr   
     Type:  patch                            |       Status:  closed
 Priority:  minor                            |    Milestone:  0.21  
Component:  mythtv                           |      Version:  head  
 Severity:  low                              |   Resolution:  fixed 
  Mlocked:  0                                |  
---------------------------------------------+------------------------------
Changes (by paulh):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [16157]) Fix a possible memory leak in libmythdvdnav.

 If DVDDiscID() fails to allocate its needed buffer then it was exiting
 without
 first closing the file it opened.

 Patch by Erik Hovland. Fixes #4670.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4670#comment:2>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list