From ebae697000bc45a8114b10db4f609747050b6c9f Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 11 Jan 2018 15:39:42 +0100 Subject: mthread: thread: fix small leak --- mthread.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mthread.c') diff --git a/mthread.c b/mthread.c index 323111d..f768cad 100644 --- a/mthread.c +++ b/mthread.c @@ -184,6 +184,8 @@ thread(char *file) if (strcmp(irt, mid) != 0) { parent = midcont(irt); + } else { + free(irt); } } out: -- cgit 1.4.1