[gnome-builder] podman: clear mutex on finalize



commit 199afea402d8fde8c837b44a73b23cce9521e689
Author: Christian Hergert <chergert redhat com>
Date:   Thu Feb 18 10:36:25 2021 -0800

    podman: clear mutex on finalize

 src/plugins/podman/gbp-podman-runtime.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/podman/gbp-podman-runtime.c b/src/plugins/podman/gbp-podman-runtime.c
index 668ba04f5..856ca13cd 100644
--- a/src/plugins/podman/gbp-podman-runtime.c
+++ b/src/plugins/podman/gbp-podman-runtime.c
@@ -104,6 +104,7 @@ gbp_podman_runtime_finalize (GObject *object)
   GbpPodmanRuntime *self = (GbpPodmanRuntime *)object;
 
   g_clear_pointer (&self->id, g_free);
+  g_mutex_clear (&self->mutex);
 
   G_OBJECT_CLASS (gbp_podman_runtime_parent_class)->finalize (object);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]