Update to 3.27.3

This commit is contained in:
Kalev Lember 2017-12-19 10:24:54 +01:00
parent aa7e2c7f71
commit b2e6a580b4
4 changed files with 66 additions and 3 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/libdazzle-3.25.92.tar.xz
/libdazzle-3.26.0.tar.xz
/libdazzle-3.26.1.tar.xz
/libdazzle-3.27.3.tar.xz

View File

@ -0,0 +1,56 @@
From 36d64ffdb1e6397dda9f0917a9bbb344764feb6a Mon Sep 17 00:00:00 2001
From: Christian Hergert <chergert@redhat.com>
Date: Wed, 13 Dec 2017 21:49:45 -0800
Subject: [PATCH] tests: fix some leaks under asan
---
tests/test-recursive-monitor.c | 9 +++++++--
tests/test-trie.c | 2 ++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/tests/test-recursive-monitor.c b/tests/test-recursive-monitor.c
index c77cc6a9aac5..f2e187dc4376 100644
--- a/tests/test-recursive-monitor.c
+++ b/tests/test-recursive-monitor.c
@@ -145,11 +145,11 @@ test_basic (void)
state.created = g_hash_table_new_full (g_file_hash,
(GEqualFunc) g_file_equal,
g_object_unref,
- g_object_unref);
+ NULL);
state.deleted = g_hash_table_new_full (g_file_hash,
(GEqualFunc) g_file_equal,
g_object_unref,
- g_object_unref);
+ NULL);
/* Cleanup any previously failed run */
if (g_file_test ("recursive-dir", G_FILE_TEST_EXISTS))
@@ -192,6 +192,11 @@ test_basic (void)
g_main_loop_run (state.main_loop);
dzl_recursive_file_monitor_cancel (state.monitor);
+
+ g_clear_pointer (&state.main_loop, g_main_loop_unref);
+ g_clear_pointer (&state.created, g_hash_table_unref);
+ g_clear_pointer (&state.deleted, g_hash_table_unref);
+ g_clear_object (&state.monitor);
}
gint
diff --git a/tests/test-trie.c b/tests/test-trie.c
index 4b934a14d81b..88b0f477ad5c 100644
--- a/tests/test-trie.c
+++ b/tests/test-trie.c
@@ -124,6 +124,8 @@ test_dzl_trie_gauntlet (void)
g_strfreev(words);
words = NULL;
+
+ g_timer_destroy (timer);
}
gint
--
2.14.3

View File

@ -1,11 +1,14 @@
Name: libdazzle
Version: 3.26.1
Version: 3.27.3
Release: 1%{?dist}
Summary: Experimental new features for GTK+ and GLib
License: GPLv3+
URL: https://git.gnome.org/browse/libdazzle/
Source0: https://download.gnome.org/sources/%{name}/3.26/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/%{name}/3.27/%{name}-%{version}.tar.xz
# Backported from upstream
Patch0: 0001-tests-fix-some-leaks-under-asan.patch
BuildRequires: gtk-doc
BuildRequires: meson
@ -84,6 +87,9 @@ dbus-run-session -- xvfb-run -w 10 ninja test %{__ninja_common_opts} -C %{_vpath
%changelog
* Tue Dec 19 2017 Kalev Lember <klember@redhat.com> - 3.27.3-1
- Update to 3.27.3
* Tue Oct 3 2017 Yanko Kaneti <yaneti@declera.com> - 3.26.1-1
- Update to 3.26.1

View File

@ -1 +1 @@
SHA512 (libdazzle-3.26.1.tar.xz) = 08844fa4c66d48376ac27995b685772dda0c7e2fae1d143e7c250fc476ad84622eda97650fbd60552a9807d99e693de8b2562a97842bc6b78004e8111da21c46
SHA512 (libdazzle-3.27.3.tar.xz) = f844ae0d459a822daf4a5198dc1e9284d6004a7039570ef74a1a4ce92a087d35fc68a4bb5948d6aaf988f78c9ee8e98dfa2f00b8d3d15e42bdc0f469079c75b3