Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
db3d7b91
Commit
db3d7b91
authored
Jun 11, 1991
by
Per Cederqvist
Browse files
Fixed some memory leaks.
parent
10a3f8dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/connections.c
View file @
db3d7b91
...
...
@@ -89,10 +89,6 @@ logout_client(Connection *cp)
active_connection
=
real_active_connection
;
}
s_clear
(
&
cp
->
unparsed
);
s_clear
(
&
cp
->
what_am_i_doing
);
s_clear
(
&
cp
->
username
);
switch
(
cp
->
protocol
)
{
case
0
:
/* Hasn't yet allocated any protocol. */
...
...
@@ -673,7 +669,7 @@ login_request(ISCECB *event)
cp
=
new_client
();
cp
->
mux
=
event
->
session
->
udg
;
cp
->
hostname
=
s_fcrea_str
(
event
->
session
->
info
.
tcp
.
hostname
);
s_crea_str
(
&
cp
->
hostname
,
event
->
session
->
info
.
tcp
.
hostname
);
mux_addclient
(
event
->
session
->
udg
,
0
,
cp
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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