[mythtv-commits] Ticket #11660: Patch to initialize Initialize member variables in MythRenderOpenGL ctor - fixes Coverity 700926 and 700927

MythTV noreply at mythtv.org
Sat Jul 13 18:46:25 UTC 2013


#11660: Patch to initialize Initialize member variables in MythRenderOpenGL ctor -
fixes Coverity 700926 and 700927
-------------------------------------+-------------------------------------
 Reporter:  Gary Buhrmaster          |          Owner:  Gary Buhrmaster
  <gary.buhrmaster@…>                |  <gary.buhrmaster@…>
     Type:  Patch - Bug Fix          |         Status:  closed
 Priority:  minor                    |      Milestone:  unknown
Component:  MythTV - User Interface  |        Version:  Master Head
  Library                            |     Resolution:  fixed
 Severity:  medium                   |  Ticket locked:  0
 Keywords:                           |
-------------------------------------+-------------------------------------

Comment (by Gary Buhrmaster <gary.buhrmaster@…>):

 In [changeset:"cd314dc6cab8b212221d6318876b2c3f46503a3e/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="cd314dc6cab8b212221d6318876b2c3f46503a3e"
 Eliminate memory leak in MythRenderOpenGL

 In commit 07c54f07872c764f5f355775b27d9ee6f93daf0c
 a memory leak was introduced.  This patch eliminates
 the use of the pointer where the lock member object
 is lost and replaces it by appropriate creation in
 the initializer.  This is a "minimal" fix to the issue.

 Refs #11660

 Signed-off-by: Paul Harrison <pharrison at mythtv.org>
 }}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11660#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list