diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-16 06:54:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-16 06:54:49 -0500 |
commit | 900d9dc05e83dda18086b4cb2f6bcce06ed7b387 (patch) | |
tree | 0f7b541296b28c3ebf14a678483bc8f19296bd24 /backend/session/session.c | |
parent | 57a355a6a778c1b23de8728f407b10cc2e481758 (diff) | |
parent | bb79ada49f43be5417bdd55fda3a7cf07c2a69df (diff) |
Merge pull request #422 from emersion/scan-build-fixes
Fix a bunch of mistakes detected with scan-build
Diffstat (limited to 'backend/session/session.c')
-rw-r--r-- | backend/session/session.c | 2 |
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; } |