about summary refs log tree commit diff
path: root/mthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'mthread.c')
-rw-r--r--mthread.c2
1 files changed, 2 insertions, 0 deletions
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: