diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-04-05 14:03:53 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-04-05 14:03:53 +0000 |
commit | 8fa8629fa44075dfa41b1bff96a7951dd40cfb0a (patch) | |
tree | 1d7ef94b106dd33c796af7e80929d073b8ecbd05 /hcid/main.c | |
parent | 737b2a1a36c13e575d3cfb21f7e42553407cb6d2 (diff) |
added timeout new function
Diffstat (limited to 'hcid/main.c')
-rw-r--r-- | hcid/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hcid/main.c b/hcid/main.c index a449f37b..6a6b382c 100644 --- a/hcid/main.c +++ b/hcid/main.c @@ -34,7 +34,6 @@ #include <stdlib.h> #include <string.h> #include <signal.h> -#include <sys/time.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <sys/socket.h> @@ -660,6 +659,8 @@ int main(int argc, char *argv[], char *env[]) /* Start event processor */ g_main_run(event_loop); + g_main_unref(event_loop); + if (sdp) stop_sdp_server(); |