projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ustd: unwrite the subbuffer if the put() was unsuccessful and we are going to crash...
[ust.git]
/
libustcomm
/
ustcomm.c
diff --git
a/libustcomm/ustcomm.c
b/libustcomm/ustcomm.c
index 7dd12510612eac2b1502445f6d9cfd64e89c9102..5f2517b169411dc24e2f66c6823962d629ebfdc4 100644
(file)
--- a/
libustcomm/ustcomm.c
+++ b/
libustcomm/ustcomm.c
@@
-678,6
+678,16
@@
free_name:
return -1;
}
return -1;
}
+void ustcomm_free_app(struct ustcomm_app *app)
+{
+ int result;
+ result = close(app->server.listen_fd);
+ if(result == -1) {
+ PERROR("close");
+ return;
+ }
+}
+
/* Used by the daemon to initialize its server so applications
* can connect to it.
*/
/* Used by the daemon to initialize its server so applications
* can connect to it.
*/
This page took
0.023035 seconds
and
4
git commands to generate.