projects
/
tcludp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36e8198
)
Applied fix from bug #833700 to close a memory leak in UDP_CheckProc.
author
patthoyts
<patthoyts>
Mon, 9 Feb 2004 12:19:30 +0000
(12:19 +0000)
committer
patthoyts
<patthoyts>
Mon, 9 Feb 2004 12:19:30 +0000
(12:19 +0000)
ChangeLog
patch
|
blob
|
history
generic/udp_tcl.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index e631784f62e58680c472ea61a06d2a28ec2e4a93..4d795a476a1d91cce7d47067cb9a83c0a6ef209d 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-2,6
+2,9
@@
* all: INCREMENTED VERSION TO 1.0.6
+ * generic/udp_tcl.c: Applied fix from bug #833700 to close a
+ memory leak in UDP_CheckProc.
+
* Makefile.in: Fixed to build in directories other than the top
of the source tree.
diff --git
a/generic/udp_tcl.c
b/generic/udp_tcl.c
index 373547f02faf9807d5e84fec6e8f03c056dd10a7..e06e890cde65fe6920783c756c68ef8acd5e58bd 100644
(file)
--- a/
generic/udp_tcl.c
+++ b/
generic/udp_tcl.c
@@
-590,6
+590,7
@@
UDP_CheckProc(ClientData data, int flags)
if (actual_size < 0) {
UDPTRACE("UDP error - recvfrom %d\n", statePtr->sock);
+ ckfree(message);
} else {
p = (PacketList *)calloc(1, sizeof(struct PacketList));
p->message = message;