[ASAN] lib: Squash various leaks in library and commandline
The pull one is the most likely to affect users. Otherwise mostly just cleaning up `-fsanitize=address`. Closes: #587 Approved by: jlebon
This commit is contained in:
1 parent
eb7ba645af
commit
49b8a72622
12 files changed
+30
-13
No files matched your search
@@ -632,6 +632,9 @@ _ostree_metalink_request_sync (OstreeMetalink *self,
|
||||
if (mainctx)
|
||||
g_main_context_pop_thread_default (mainctx);
|
||||
g_clear_object (&request.metalink);
|
||||
g_clear_pointer (&request.verification_sha256, g_free);
|
||||
g_clear_pointer (&request.verification_sha512, g_free);
|
||||
g_clear_pointer (&request.last_metalink_error, g_free);
|
||||
g_clear_pointer (&request.urls, g_ptr_array_unref);
|
||||
g_clear_pointer (&request.parser, g_markup_parse_context_free);
|
||||
return ret;
|
||||
|
||||
Reference in new issue
Block a user