summaryrefslogtreecommitdiff
path: root/tests/timeout-test.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2010-06-11 15:26:53 -0400
committerDan Winship <danw@gnome.org>2010-06-11 15:26:53 -0400
commit02752ac1958daa7ecf257762bc345cdf45569896 (patch)
treef06a1a63af45694f0bc9ede6e93c23becf8e44a0 /tests/timeout-test.c
parentea57345a5c5f00fe85801b3f528687b93793afff (diff)
downloadlibsoup-02752ac1958daa7ecf257762bc345cdf45569896.tar.gz
libsoup-02752ac1958daa7ecf257762bc345cdf45569896.tar.bz2
libsoup-02752ac1958daa7ecf257762bc345cdf45569896.zip
Allow calling soup_test_server_new() multiple times in test programs
Diffstat (limited to 'tests/timeout-test.c')
-rw-r--r--tests/timeout-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/timeout-test.c b/tests/timeout-test.c
index 663df8ee..3bca7ba4 100644
--- a/tests/timeout-test.c
+++ b/tests/timeout-test.c
@@ -98,6 +98,7 @@ main (int argc, char **argv)
do_timeout_tests (fast_uri, slow_uri);
g_free (fast_uri);
g_free (slow_uri);
+ soup_test_server_quit_unref (server);
#ifdef HAVE_SSL
debug_printf (1, "https\n");
@@ -110,6 +111,7 @@ main (int argc, char **argv)
do_timeout_tests (fast_uri, slow_uri);
g_free (fast_uri);
g_free (slow_uri);
+ soup_test_server_quit_unref (server);
#endif
test_cleanup ();