Merge pull request #4043 from i3/orestisfl-patch-2
con.c: Reorder use after free
This commit is contained in:
commit
f1824fd10b
|
@ -91,8 +91,8 @@ void con_free(Con *con) {
|
||||||
FREE(mark->name);
|
FREE(mark->name);
|
||||||
FREE(mark);
|
FREE(mark);
|
||||||
}
|
}
|
||||||
free(con);
|
|
||||||
DLOG("con %p freed\n", con);
|
DLOG("con %p freed\n", con);
|
||||||
|
free(con);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _con_attach(Con *con, Con *parent, Con *previous, bool ignore_focus) {
|
static void _con_attach(Con *con, Con *parent, Con *previous, bool ignore_focus) {
|
||||||
|
|
Loading…
Reference in New Issue