[dconf: 1/2] Free OustandingWatch's path
- From: Daniel Playfair Cal <danielplayfaircal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf: 1/2] Free OustandingWatch's path
- Date: Mon, 24 Sep 2018 13:22:40 +0000 (UTC)
commit f873033a740418a14b1e0c03525e758155d4407e
Author: Guido Günther <agx sigxcpu org>
Date: Mon Sep 10 15:07:15 2018 +0200
Free OustandingWatch's path
Otherwise we leak it as can be seen in
https://source.puri.sm/guido.gunther/phosh/-/jobs/1868
This unbreaks phosh's CI build under valgrind.
engine/dconf-engine.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/engine/dconf-engine.c b/engine/dconf-engine.c
index dde8c18..06d7dd6 100644
--- a/engine/dconf-engine.c
+++ b/engine/dconf-engine.c
@@ -974,6 +974,7 @@ dconf_engine_watch_established (DConfEngine *engine,
ow->path);
dconf_engine_unlock_subscription_counts (engine);
+ g_clear_pointer (&ow->path, g_free);
dconf_engine_call_handle_free (handle);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]