From f5a3946b69233ca38859e978f22049a9154aab32 Mon Sep 17 00:00:00 2001 From: Leesoo Ahn Date: Sat, 26 Oct 2019 16:14:55 +0900 Subject: simple-authorizer: Clear GMutex on the instance finalization GMutex should be cleared when it is no longer needed. --- gfbgraph/gfbgraph-simple-authorizer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gfbgraph/gfbgraph-simple-authorizer.c b/gfbgraph/gfbgraph-simple-authorizer.c index 6e0647d..1f4d6e9 100644 --- a/gfbgraph/gfbgraph-simple-authorizer.c +++ b/gfbgraph/gfbgraph-simple-authorizer.c @@ -104,6 +104,7 @@ gfbgraph_simple_authorizer_finalize (GObject *obj) priv = GFBGRAPH_SIMPLE_AUTHORIZER_GET_PRIVATE (obj); g_free (priv->access_token); + g_mutex_clear (&priv->mutex); G_OBJECT_CLASS(parent_class)->finalize (obj); } -- cgit v1.2.1