diff options
author | Dan Winship <danw@gnome.org> | 2010-03-13 11:57:09 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2010-03-13 11:57:09 -0500 |
commit | d08ed91a7da4bd25180d6ddf19500f2a7b729c6d (patch) | |
tree | 1c770d1ef2822ccd7edfc28a723eda14d01afb11 /tests/cookies-test.c | |
parent | e69be10e1b99723460d9aca45a53cbbd6f2b5673 (diff) | |
download | libsoup-d08ed91a7da4bd25180d6ddf19500f2a7b729c6d.tar.gz |
Fix leaks found by valgrind
Also, simply the suppressions file by using the "..." syntax, which I
think didn't exist (or at least wasn't documented) when I first
created it.
Diffstat (limited to 'tests/cookies-test.c')
-rw-r--r-- | tests/cookies-test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cookies-test.c b/tests/cookies-test.c index 4e0c4d1e..fa9f5b06 100644 --- a/tests/cookies-test.c +++ b/tests/cookies-test.c @@ -87,8 +87,10 @@ do_cookies_accept_policy_test (void) errors++; } - for (p = l; p; p = p->next) + for (p = l; p; p = p->next) { soup_cookie_jar_delete_cookie (jar, p->data); + soup_cookie_free (p->data); + } g_slist_free (l); } |