From b3cb6be48edcd1098a06bdd1303612d631dca906 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 22 Jan 2018 08:55:26 +0100 Subject: [PATCH] Minor memleak fixed in gerbview --- gerbview/gerbview_frame.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gerbview/gerbview_frame.cpp b/gerbview/gerbview_frame.cpp index 6e142557bf..f23222bdfa 100644 --- a/gerbview/gerbview_frame.cpp +++ b/gerbview/gerbview_frame.cpp @@ -289,6 +289,7 @@ GERBVIEW_FRAME::~GERBVIEW_FRAME() } GetGerberLayout()->GetImagesList()->DeleteAllImages(); + delete m_gerberLayout; }