From 9d5246847149e94a95549617f42ed59a7a336e49 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Tue, 27 Nov 2012 23:56:00 +0100 Subject: [PATCH] inpcom.c: plug memory leaks --- src/frontend/inpcom.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index f0f18d125..18f52a349 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -4561,6 +4561,7 @@ inp_compat(struct line *deck) tfree(title_tok); tfree(node1); tfree(node2); + tfree(equation); } /* Cxxx n1 n2 C = {equation} or Cxxx n1 n2 {equation} --> @@ -4674,6 +4675,7 @@ inp_compat(struct line *deck) tfree(title_tok); tfree(node1); tfree(node2); + tfree(equation); } /* Lxxx n1 n2 L = {equation} or Lxxx n1 n2 {equation} @@ -4788,6 +4790,7 @@ inp_compat(struct line *deck) tfree(title_tok); tfree(node1); tfree(node2); + tfree(equation); } /* .probe -> .save .print, .plot, .save, .four,