fix small memory leak (unused ->name)
This commit is contained in:
parent
9713419327
commit
fa44383cc6
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user