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
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
15a9c957
Commit
15a9c957
authored
Jan 17, 1993
by
Per Cederqvist
Browse files
Fixed two memory leaks.
parent
89f12e12
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/libraries/libisc-new/src/ChangeLog
View file @
15a9c957
Sun Jan 17 02:56:47 1993 Per Cederqvist (ceder@konrad)
* isc_session.c (isc_remove): Fix memory leak: Free the list-head.
* isc_tcp.c (isc_tcp_destroy_fn): Fix another memory leak: Pop any
remaining handlers.
Sun May 31 01:49:22 1992 Per Cederqvist (ceder@lysator)
* isc_master (isc_initialize): Allocate the master control block
...
...
src/libraries/libisc-new/src/isc_session.c
View file @
15a9c957
...
...
@@ -185,6 +185,8 @@ isc_remove(IscMaster *mcb,
isl
->
next
=
NULL
;
}
isc_free
(
isl
);
return
--
scb
->
nlinks
;
}
...
...
src/libraries/libisc-new/src/isc_tcp.c
View file @
15a9c957
...
...
@@ -94,6 +94,9 @@ isc_tcp_destroy_fn(IscHandlerList *hl,
isc_freeaddress
(
scb
->
info
.
tcp
.
laddr
);
scb
->
info
.
tcp
.
laddr
=
NULL
;
}
while
(
isc_pophandler
(
scb
))
;
}
...
...
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