aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oauth.c')
-rw-r--r--lib/oauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oauth.c b/lib/oauth.c
index f15a7135..ac5bc654 100644
--- a/lib/oauth.c
+++ b/lib/oauth.c
@@ -106,8 +106,8 @@ void oauth_params_del(GSList **params, const char *key)
if (strncmp((char *) l->data, key, key_len) == 0 &&
((char *) l->data)[key_len] == '=') {
- g_free(l->data);
*params = g_slist_remove(*params, l->data);
+ g_free(l->data);
}
}
}