fix small memory leak (unused ->name)

This commit is contained in:
Michael Stapelberg 2011-01-04 22:15:52 +01:00
parent 9713419327
commit fa44383cc6
1 changed files with 0 additions and 1 deletions

View File

@ -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);