cdma-smsutil: Use g_slist_free_full

This commit is contained in:
John Ernberg 2016-04-22 13:10:06 +00:00 committed by Denis Kenzior
parent f987e0b311
commit 3887e33e00
1 changed files with 1 additions and 2 deletions

View File

@ -533,8 +533,7 @@ static gboolean decode_subparams(struct simple_iter *iter, guint32 *bitmap,
}
}
g_slist_foreach(entries, (GFunc) g_free, NULL);
g_slist_free(entries);
g_slist_free_full(entries, g_free);
return decode_result;
}