Do not double free expanded path in source-file, also remove some

unnecessary assignments.
This commit is contained in:
nicm
2021-08-22 13:48:29 +00:00
parent c0048d6d20
commit 72d905f32c
4 changed files with 4 additions and 6 deletions

View File

@ -280,7 +280,7 @@ server_client_open(struct client *c, char **cause)
static void
server_client_attached_lost(struct client *c)
{
struct session *s = c->session;
struct session *s;
struct window *w;
struct client *loop;
struct client *found;