From 2500976e31acce72b9dd8f6dafcc2b19d2e05775 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Thu, 28 May 2015 20:21:38 -0400 Subject: [PATCH] Fix undefined MODULE dtor for auto_ptr in pcb_netlist.h which caused a memory leak. Thanks Simon Richter for finding this. --- pcbnew/pcb_netlist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/pcb_netlist.h b/pcbnew/pcb_netlist.h index 3680eea931..0cecfb5845 100644 --- a/pcbnew/pcb_netlist.h +++ b/pcbnew/pcb_netlist.h @@ -10,7 +10,7 @@ * * Copyright (C) 2012 Jean-Pierre Charras. * Copyright (C) 2013 Wayne Stambaugh . - * Copyright (C) 2012 KiCad Developers, see CHANGELOG.TXT for contributors. + * Copyright (C) 2012-2015 KiCad Developers, see CHANGELOG.TXT for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -34,9 +34,9 @@ #include #include +#include -class MODULE; class REPORTER;