summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeesoo Ahn <yisooan@fedoraproject.org>2019-10-26 16:14:55 +0900
committerLeesoo Ahn <yisooan@fedoraproject.org>2019-10-26 16:14:55 +0900
commitf5a3946b69233ca38859e978f22049a9154aab32 (patch)
tree81ab459c5f0866401886934f579f6dfa6486825b
parentbb6eaaa926484a45f47382c24c1ccff6e3d5dd91 (diff)
downloadlibgfbgraph-f5a3946b69233ca38859e978f22049a9154aab32.tar.gz
simple-authorizer: Clear GMutex on the instance finalization
GMutex should be cleared when it is no longer needed.
-rw-r--r--gfbgraph/gfbgraph-simple-authorizer.c1
1 files changed, 1 insertions, 0 deletions
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);
}