Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4043 from i3/orestisfl-patch-2
Browse files Browse the repository at this point in the history
con.c: Reorder use after free
  • Loading branch information
Airblader committed Apr 30, 2020
2 parents 9c2b8f8 + 0c9c9fb commit f1824fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/con.c
Expand Up @@ -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) {
Expand Down

0 comments on commit f1824fd

Please sign in to comment.