projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a9883b
)
Destroy timer of DHCP test program
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 28 Jul 2010 17:32:53 +0000
(10:32 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 28 Jul 2010 17:32:53 +0000
(10:32 -0700)
tools/dhcp-test.c
patch
|
blob
|
history
diff --git
a/tools/dhcp-test.c
b/tools/dhcp-test.c
index
3b599af
..
cf4ff71
100644
(file)
--- a/
tools/dhcp-test.c
+++ b/
tools/dhcp-test.c
@@
-39,7
+39,7
@@
static GTimer *timer;
-static GMainLoop *main_loop
= NULL
;
+static GMainLoop *main_loop;
static void sig_term(int sig)
{
@@
-185,5
+185,7
@@
int main(int argc, char *argv[])
g_main_loop_unref(main_loop);
+ g_timer_destroy(timer);
+
return 0;
}