Opened 14 years ago

Closed 14 years ago

#870 closed patch (fixed)

CCDecoder allocates rbuf as new[], but frees with delete rbuf

Reported by: jwestfall@… Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

CCDecoder allocates rbuf as new unsigned char[sizeof(ccsubtitle)+255], but in ~CCDecoder does delete rbuf;

patch changes it to delete [] rbuf;

Attachments (1)

ccdec.diff (374 bytes) - added by jwestfall@… 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by jwestfall@…

Attachment: ccdec.diff added

comment:1 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

(In [8376]) Closes #870, by applying patch.

Note: See TracTickets for help on using tickets.