summaryrefslogtreecommitdiff
path: root/src/eom-uri-converter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-uri-converter.c')
-rw-r--r--src/eom-uri-converter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eom-uri-converter.c b/src/eom-uri-converter.c
index 2397a28..d38b52d 100644
--- a/src/eom-uri-converter.c
+++ b/src/eom-uri-converter.c
@@ -79,8 +79,7 @@ eom_uri_converter_dispose (GObject *object)
}
if (priv->token_list) {
- g_list_foreach (priv->token_list, (GFunc) free_token, NULL);
- g_list_free (priv->token_list);
+ g_list_free_full (priv->token_list, free_token);
priv->token_list = NULL;
}