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

MythTV mythtv at cvs.mythtv.org
Tue Feb 19 12:08:07 UTC 2008


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

Comment(by paulh):

 (In [16156]) 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. Refs #4670.

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


More information about the mythtv-commits mailing list