]> git.sur5r.net Git - i3/i3/commitdiff
fix small memory leak (unused ->name)
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 4 Jan 2011 21:15:52 +0000 (22:15 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 4 Jan 2011 21:15:52 +0000 (22:15 +0100)
src/con.c

index 0f2374f66975a97b588a83a2c2d87c034958a1d7..57dda39b4f15b2fbadd2256926b266cd74747b7b 100644 (file)
--- 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);