[mythtv-commits] Ticket #870: CCDecoder allocates rbuf as new[], but frees with delete rbuf

MythTV mythtv at cvs.mythtv.org
Sat Dec 24 01:38:20 EST 2005


#870: CCDecoder allocates rbuf as new[], but frees with delete rbuf
----------------------------------------+-----------------------------------
 Reporter:  jwestfall at surrealistic.net  |       Owner:  ijr 
     Type:  patch                       |      Status:  new 
 Priority:  trivial                     |   Milestone:      
Component:  mythtv                      |     Version:  head
 Severity:  low                         |  
----------------------------------------+-----------------------------------
 CCDecoder allocates rbuf as new unsigned char[sizeof(ccsubtitle)+255], but
 in ~CCDecoder does delete rbuf;

 patch changes it to delete [] rbuf;

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/870>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list