Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
644f549b
Commit
644f549b
authored
Mar 19, 2000
by
Niels Möller
Browse files
* src/unix_user.c (do_file_exists): Deallocate the name properly.
Rev: src/unix_user.c:1.2
parent
d18bb86a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/unix_user.c
View file @
644f549b
...
...
@@ -97,7 +97,11 @@ do_file_exists(struct user *u,
struct
stat
st
;
if
(
!
user
->
home
)
return
0
;
{
if
(
free
)
lsh_string_free
(
name
);
return
0
;
}
path
=
ssh_format
(
free
?
"%lS/%lfS%c"
:
"%lS/%lS%c"
,
user
->
home
,
name
,
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment