From fa44383cc6efac430e0503c4c29dc6145a2a5d5d Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 4 Jan 2011 22:15:52 +0100 Subject: [PATCH] fix small memory leak (unused ->name) --- src/con.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/con.c b/src/con.c index 0f2374f6..57dda39b 100644 --- a/src/con.c +++ b/src/con.c @@ -34,7 +34,6 @@ Con *con_new(Con *parent) { Con *new = scalloc(sizeof(Con)); TAILQ_INSERT_TAIL(&all_cons, new, all_cons); new->type = CT_CON; - new->name = strdup(""); new->border_style = config.default_border; static int cnt = 0; LOG("opening window %d\n", cnt); -- 2.39.5