diff options
| author | James McCoy <jamessan@jamessan.com> | 2022-05-20 14:22:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-20 14:22:15 -0400 |
| commit | b3453ea4a6b6518cccd6922fbcaa64a0aa47c743 (patch) | |
| tree | f7b0c7d483e6792cbddcf8a7fc0d8dd8a3a49ecd /src/nvim/os/users.c | |
| parent | c847a0eeb7123122069cbf2903e95571e86f66c6 (diff) | |
| parent | 3e627f9e553d0e63597a3df870cb273b64b7e51f (diff) | |
| download | rneovim-b3453ea4a6b6518cccd6922fbcaa64a0aa47c743.tar.gz rneovim-b3453ea4a6b6518cccd6922fbcaa64a0aa47c743.tar.bz2 rneovim-b3453ea4a6b6518cccd6922fbcaa64a0aa47c743.zip | |
Merge pull request #18648 from jamessan/coverity-fixes
Diffstat (limited to 'src/nvim/os/users.c')
| -rw-r--r-- | src/nvim/os/users.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/users.c b/src/nvim/os/users.c index 4803be20c3..3d67ae4ce0 100644 --- a/src/nvim/os/users.c +++ b/src/nvim/os/users.c @@ -30,7 +30,7 @@ static void add_user(garray_T *users, char *user, bool need_copy) if (user_copy == NULL || *user_copy == NUL) { if (need_copy) { - xfree(user); + xfree(user_copy); } return; } |