aboutsummaryrefslogtreecommitdiff
path: root/backend/session/session.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-16 10:30:54 +0100
committeremersion <contact@emersion.fr>2017-11-16 10:30:54 +0100
commitbb79ada49f43be5417bdd55fda3a7cf07c2a69df (patch)
tree259eaade516ed43c99c78591741b4e4ef0d77b7d /backend/session/session.c
parentac78c6642a1c742c896f08282ee31c4f0d3acd51 (diff)
Fix a bunch of mistakes detected with scan-build
Diffstat (limited to 'backend/session/session.c')
-rw-r--r--backend/session/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/session/session.c b/backend/session/session.c
index 760830c3..657558fd 100644
--- a/backend/session/session.c
+++ b/backend/session/session.c
@@ -249,7 +249,7 @@ static size_t explicit_find_gpus(struct wlr_session *session,
}
} while ((ptr = strtok_r(NULL, ":", &save)));
- free(ptr);
+ free(gpus);
return i;
}