[mythtv-commits] Ticket #10630: Memory leak when subtitles are "on"

MythTV noreply at mythtv.org
Fri Apr 20 11:32:09 UTC 2012

#10630: Memory leak when subtitles are "on"
 Reporter:  Mossy <nosepam-mythtv@…>  |          Owner:  stichnot
     Type:  Bug Report - General      |         Status:  accepted
 Priority:  minor                     |      Milestone:  0.26
Component:  MythTV - Captions         |        Version:  0.25-fixes
 Severity:  medium                    |     Resolution:
 Keywords:  subtitles memory leak     |  Ticket locked:  0

Comment (by Mossy <nosepam-mythtv@…>):

 The memory leak was from objects that are stored in teletextscreen.cpp in
 a hash.

 TeletextScreen::ClearScreen() processed the hash as if it were a list,
 resulting in few, if any, of the objects being deleted.

 The patch above fixes this.

 I should have spotted the problem when I first looked at the code, your
 comment prompted me to look again.

Ticket URL: <http://code.mythtv.org/trac/ticket/10630#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center

More information about the mythtv-commits mailing list