[mythtv-commits] Ticket #12917: mythfrontend.real crashes since Ubuntu 16.10 upgrade
MythTV
noreply at mythtv.org
Sat Nov 19 23:41:56 UTC 2016
#12917: mythfrontend.real crashes since Ubuntu 16.10 upgrade
-----------------------------------------+--------------------------
Reporter: heynnema@… | Owner: pbennett
Type: Bug Report - General | Status: closed
Priority: critical | Milestone: unknown
Component: MythTV - General | Version: 0.28.0
Severity: high | Resolution: fixed
Keywords: mythfrontend stack smashing | Ticket locked: 0
-----------------------------------------+--------------------------
Comment (by jyavenard):
you pass the data by value, not via a pointer.
You allocate via new, there's no associated delete of that pointer. It
*will* leak.
As the data is passed by value, there's no reason to allocate a new one on
the heap.
I'm not referring to why it was crashing before. Just looking at the code
as it is now.
If you don't see why it would be leaking, well, I can't explain it any
better
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12917#comment:38>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list