From: Michael Stapelberg Date: Tue, 4 Jan 2011 21:15:52 +0000 (+0100) Subject: fix small memory leak (unused ->name) X-Git-Tag: tree-pr2~144 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fa44383cc6efac430e0503c4c29dc6145a2a5d5d;p=i3%2Fi3 fix small memory leak (unused ->name) --- 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);