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

View File

@ -34,7 +34,6 @@ Con *con_new(Con *parent) {
Con *new = scalloc(sizeof(Con)); Con *new = scalloc(sizeof(Con));
TAILQ_INSERT_TAIL(&all_cons, new, all_cons); TAILQ_INSERT_TAIL(&all_cons, new, all_cons);
new->type = CT_CON; new->type = CT_CON;
new->name = strdup("");
new->border_style = config.default_border; new->border_style = config.default_border;
static int cnt = 0; static int cnt = 0;
LOG("opening window %d\n", cnt); LOG("opening window %d\n", cnt);