summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gfbgraph/gfbgraph-simple-authorizer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gfbgraph/gfbgraph-simple-authorizer.c b/gfbgraph/gfbgraph-simple-authorizer.c
index ab1041f..6e0647d 100644
--- a/gfbgraph/gfbgraph-simple-authorizer.c
+++ b/gfbgraph/gfbgraph-simple-authorizer.c
@@ -99,6 +99,12 @@ gfbgraph_simple_authorizer_class_init (GFBGraphSimpleAuthorizerClass *klass)
static void
gfbgraph_simple_authorizer_finalize (GObject *obj)
{
+ GFBGraphSimpleAuthorizerPrivate *priv;
+
+ priv = GFBGRAPH_SIMPLE_AUTHORIZER_GET_PRIVATE (obj);
+
+ g_free (priv->access_token);
+
G_OBJECT_CLASS(parent_class)->finalize (obj);
}