diff options
-rw-r--r-- | gfbgraph/gfbgraph-user.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gfbgraph/gfbgraph-user.c b/gfbgraph/gfbgraph-user.c index 34410b3..17a0241 100644 --- a/gfbgraph/gfbgraph-user.c +++ b/gfbgraph/gfbgraph-user.c @@ -120,6 +120,11 @@ gfbgraph_user_class_init (GFBGraphUserClass *klass) static void gfbgraph_user_finalize (GObject *obj) { + GFBGraphUserPrivate *priv = GFBGRAPH_USER_GET_PRIVATE (obj); + + g_free (priv->name); + g_free (priv->email); + G_OBJECT_CLASS(parent_class)->finalize (obj); } @@ -281,6 +286,7 @@ gfbgraph_user_get_me (GFBGraphAuthorizer *authorizer, GError **error) g_object_unref (parser); } + g_object_unref (rest_call); return me; } |