summaryrefslogtreecommitdiffstats
path: root/server-client.c
diff options
context:
space:
mode:
authornicm <nicm>2021-08-22 13:48:29 +0000
committernicm <nicm>2021-08-22 13:48:29 +0000
commit72d905f32c53ea1304b4b3206383502a23cfc0fd (patch)
tree3604fd660df026d9bafc253115bd3b56fc8ab94a /server-client.c
parentc0048d6d20a056464a6b1b63e8bdc1793a29b029 (diff)
Do not double free expanded path in source-file, also remove some
unnecessary assignments.
Diffstat (limited to 'server-client.c')
-rw-r--r--server-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-client.c b/server-client.c
index 8821ba57..ac9a7475 100644
--- a/server-client.c
+++ b/server-client.c
@@ -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;