diff options
author | Colin Walters <walters@verbum.org> | 2016-11-18 10:33:50 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2016-11-21 16:34:06 +0000 |
commit | 49b8a726221de7b9abf6c70bddadc0c21ff7b697 (patch) | |
tree | 0e0349bae0272e74485d01814b3b7f0b4a23c5f5 /src/libostree/ostree-repo-static-delta-compilation-analysis.c | |
parent | eb7ba645af8bc8332dcd5a73f682d46e8642a2ce (diff) | |
download | ostree-49b8a726221de7b9abf6c70bddadc0c21ff7b697.tar.gz |
[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
Diffstat (limited to 'src/libostree/ostree-repo-static-delta-compilation-analysis.c')
-rw-r--r-- | src/libostree/ostree-repo-static-delta-compilation-analysis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-repo-static-delta-compilation-analysis.c b/src/libostree/ostree-repo-static-delta-compilation-analysis.c index c1990591..2b9b006f 100644 --- a/src/libostree/ostree-repo-static-delta-compilation-analysis.c +++ b/src/libostree/ostree-repo-static-delta-compilation-analysis.c @@ -243,7 +243,7 @@ _ostree_delta_compute_similar_objects (OstreeRepo *repo, { gboolean ret = FALSE; g_autoptr(GHashTable) ret_modified_regfile_content = - g_hash_table_new_full (g_str_hash, g_str_equal, g_free, (GDestroyNotify)g_ptr_array_unref); + g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); g_autoptr(GPtrArray) from_sizes = NULL; g_autoptr(GPtrArray) to_sizes = NULL; guint i, j; |