[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:
Colin Walters authored and Atomic Bot committed 2016-11-21 16:34:06 +00:00
1 parent eb7ba645af
commit 49b8a72622
12 files changed
+30 -13

No files matched your search

+1 -1
View File
@@ -491,7 +491,7 @@ prune_repo (OstreeRepo *repo,
if (freed_space > 0)
{
char *freed_space_str = g_format_size_full (freed_space, 0);
g_autofree char *freed_space_str = g_format_size_full (freed_space, 0);
g_print ("Freed objects: %s\n", freed_space_str);
}