~thumper/nux/more-leaks

« back to all changes in this revision

Viewing changes to NuxGraphics/GraphicsDisplayX11.cpp

  • Committer: Tim Penhey
  • Date: 2011-08-24 03:40:00 UTC
  • Revision ID: tim.penhey@canonical.com-20110824034000-5vr2vq6ahhjl8rnl
Simple deletes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
 
109
109
  GraphicsDisplay::~GraphicsDisplay()
110
110
  {
111
 
    NUX_SAFE_DELETE ( m_GraphicsContext );
112
 
    NUX_SAFE_DELETE ( m_DeviceFactory );
 
111
    delete m_GraphicsContext;
 
112
    delete m_DeviceFactory;
113
113
 
114
114
    if (m_CreatedFromForeignWindow == false)
115
115
      DestroyOpenGLWindow ();
116
116
 
117
 
    NUX_SAFE_DELETE ( m_pEvent );
 
117
    delete m_pEvent;
118
118
 
119
119
    inlSetThreadLocalStorage (_TLS_GraphicsDisplay, 0);
120
120
  }