[mythtv-commits] Ticket #5000: null check of m_priv unnecessary in OpenGLContext dtor
MythTV
mythtv at cvs.mythtv.org
Thu Mar 20 18:04:00 UTC 2008
#5000: null check of m_priv unnecessary in OpenGLContext dtor
---------------------------------------------+------------------------------
Reporter: Erik Hovland <erik at hovland.org> | Owner: danielk
Type: defect | Status: assigned
Priority: trivial | Milestone: 0.22
Component: mythtv | Version: head
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------
Comment(by Erik Hovland <erik at hovland.org>):
Interesting. new is supposed to throw an exception bad_alloc, which is
supposed to cause an abnormal exit of the program if there is no try/catch
block. You're saying the C++ library in Linux doesn't do this?
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5000#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list