git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a999b04
)
close the connection from the destroy routine
author
Daniel Kouřil
<kouril@ics.muni.cz>
Thu, 8 Dec 2011 10:39:41 +0000
(10:39 +0000)
committer
Daniel Kouřil
<kouril@ics.muni.cz>
Thu, 8 Dec 2011 10:39:41 +0000
(10:39 +0000)
emi.canl.canl-c/src/canl.c
patch
|
blob
|
blame
|
history
diff --git
a/emi.canl.canl-c/src/canl.c
b/emi.canl.canl-c/src/canl.c
index
2058ffd
..
c3e069b
100644
(file)
--- a/
emi.canl.canl-c/src/canl.c
+++ b/
emi.canl.canl-c/src/canl.c
@@
-302,6
+302,8
@@
int canl_io_destroy(canl_ctx cc, canl_io_handler io)
if (!io_cc)
return set_error(glb_cc, EINVAL, posix_error, "Invalid io handler");
+ canl_io_close(cc, io);
+
io_destroy(glb_cc, io_cc);
free (io_cc);