journal-upload: make the curl_slist cleanup actually work
authorDavid Tardon <dtardon@redhat.com>
Wed, 17 Mar 2021 11:20:11 +0000 (12:20 +0100)
committerDavid Tardon <dtardon@redhat.com>
Thu, 18 Mar 2021 08:41:49 +0000 (09:41 +0100)
commit3851069709dbfc4729d206c208f0f773f6fb8da5
treeae60404ff0d7f48399435b67fec35fe6a2baf47d
parenta6f575a1e88dbc01559091c3cc069f4800e32fe7
journal-upload: make the curl_slist cleanup actually work

If h is NULL, it is pointless to call curl_slist_free_all() on it...
src/journal-remote/journal-upload.c