diff options
| author | Matthew Leeds <matthew.leeds@endlessm.com> | 2019-03-05 23:21:28 -0800 |
|---|---|---|
| committer | Atomic Bot <atomic-devel@projectatomic.io> | 2019-03-06 23:44:50 +0000 |
| commit | fece775029f430b3919f3510804bcb27cc8ca174 (patch) | |
| tree | d8776a5973f7da5ce7ab80a4caefbd9efd2e28b1 | |
| parent | 807f2baa53d26eb73ddc0d29d7fb36d623911492 (diff) | |
| download | flatpak-fece775029f430b3919f3510804bcb27cc8ca174.tar.gz | |
Fix a leak of SoupSession
Closes: #2740
Approved by: matthiasclasen
| -rw-r--r-- | tests/httpcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/httpcache.c b/tests/httpcache.c index dea703f6..57f92b04 100644 --- a/tests/httpcache.c +++ b/tests/httpcache.c @@ -3,7 +3,7 @@ int main (int argc, char *argv[]) { - SoupSession *session = flatpak_create_soup_session (PACKAGE_STRING); + g_autoptr(SoupSession) session = flatpak_create_soup_session (PACKAGE_STRING); GError *error = NULL; const char *url, *dest; int flags = 0; |
