[Pkg-electronics-commits] [gnucap] 36/49: fix memory leak in CARD_LIST::map_sckt_nodes
felix salfelder
felix-guest at moszumanska.debian.org
Tue Feb 2 21:39:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
felix-guest pushed a commit to branch wip
in repository gnucap.
commit 2f94ee0f430a61851989cc083982097b2a7c9b6e
Author: Felix Salfelder <felix at salfelder.org>
Date: Mon Aug 31 20:46:38 2015 +0200
fix memory leak in CARD_LIST::map_sckt_nodes
---
lib/e_cardlist.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/e_cardlist.cc b/lib/e_cardlist.cc
index b079d91..92b1c26 100644
--- a/lib/e_cardlist.cc
+++ b/lib/e_cardlist.cc
@@ -509,6 +509,7 @@ void CARD_LIST::map_subckt_nodes(const CARD* model, const CARD* owner)
assert(dynamic_cast<MODEL_CARD*>(*ci));
}
}
+ delete[] map;
}
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gnucap.git
More information about the Pkg-electronics-commits
mailing list