Commit 3609e913 authored by Summer Stapleton's avatar Summer Stapleton Committed by Makayla Shepherd
Browse files

Addressed memory leak in Gui.cpp involving X-forwarding. Fixes #4736

parent 5a7500fe
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -68,6 +68,9 @@ namespace Isis {

      abort();
    }
    else {
      XCloseDisplay(NULL);
    }
    #endif
  }

+3 −1
Original line number Diff line number Diff line
@@ -85,6 +85,8 @@ namespace Isis {
   *                         setup. Fixes #4731.
   *  @history 2017-05-19 Marjorie Hahn - Applied font style and font size from the
   *                         IsisPreferences file. Fixes #198.
   *  @history 2018-01-08 Summer Stapleton - Fixed memory leak involved in the X-forwarding check.
   *                         Fixes #4736.
   */

  class Gui : public QMainWindow {