diff options
author | Christoph Lipka <clipka@jp.adit-jv.com> | 2015-10-27 16:55:13 +0900 |
---|---|---|
committer | Lutz Helwing <lutz_helwing@mentor.com> | 2015-11-24 09:48:42 +0100 |
commit | be6f37ba05e19ae9dab4e3414c5e6d8ae502ccf5 (patch) | |
tree | 06d8a1c41e949c8b76d9b14eeb13cbcfb584e7a0 /src/daemon/dlt_daemon_unix_socket.h | |
parent | d73717a4f6b243d40388bb1d3bb9db7421d7b9b0 (diff) | |
download | DLT-daemon-be6f37ba05e19ae9dab4e3414c5e6d8ae502ccf5.tar.gz |
Fix daemon shutdown
The shutdown of the daemon was not proper implemented. This commit
fixes:
- memory leaks
- removal of created sockets
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Diffstat (limited to 'src/daemon/dlt_daemon_unix_socket.h')
-rw-r--r-- | src/daemon/dlt_daemon_unix_socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/dlt_daemon_unix_socket.h b/src/daemon/dlt_daemon_unix_socket.h index 5db4145..ec12eba 100644 --- a/src/daemon/dlt_daemon_unix_socket.h +++ b/src/daemon/dlt_daemon_unix_socket.h @@ -59,7 +59,7 @@ #define DLT_DAEMON_UNIX_SOCKET_H int dlt_daemon_unix_socket_open(int *sock, char *socket_path); -int dlt_daemon_socket_close(int sock); +int dlt_daemon_unix_socket_close(int sock); int dlt_daemon_unix_socket_send(int sock,void* data1,int size1,void* data2, int size2,char serialheader); |