Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3629 closed defect (fixed)

MythMovies memory leak

Reported by: Russell Bryant <russell@…> Owned by: stuartm
Priority: minor Milestone: unknown
Component: mythmovies Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

In mythmovies/moviesui.cpp, the MoviesUI constructor allocates query and subQuery, and never deletes them. They should be deleted in the destructor. Trivial patch attached.

Attachments (1)

mythmovies.13716.txt (370 bytes) - added by Russell Bryant <russell@…> 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by Russell Bryant <russell@…>

Attachment: mythmovies.13716.txt added

comment:1 Changed 13 years ago by stuartm

Resolution: fixed
Status: newclosed

(In [13717]) Fixes #3629

Applies patch by Russell Bryant to address a small memory leak in mythmovies by deleting the query and subQuery pointers in the MoviesUI destructor.

comment:2 Changed 13 years ago by Rob Smith

(In [13752]) This merges the patch from #3629 and closes #3629. This "ports" the filetotitle code from mythvideo to the web interface

comment:3 Changed 13 years ago by anonymous

Whoops, wrong ticket...

Note: See TracTickets for help on using tickets.