Merge pull request #4043 from i3/orestisfl-patch-2

con.c: Reorder use after free
next
Ingo Bürk 2020-04-30 09:03:43 +02:00 committed by GitHub
commit f1824fd10b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -91,8 +91,8 @@ void con_free(Con *con) {
FREE(mark->name);
FREE(mark);
}
free(con);
DLOG("con %p freed\n", con);
free(con);
}
static void _con_attach(Con *con, Con *parent, Con *previous, bool ignore_focus) {