summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdleyna/renderer/device.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libdleyna/renderer/device.c b/libdleyna/renderer/device.c
index e68cbc3..55a245f 100644
--- a/libdleyna/renderer/device.c
+++ b/libdleyna/renderer/device.c
@@ -1139,11 +1139,7 @@ static GVariant *prv_update_prop_dlna_device_classes(GUPnPDeviceInfo *proxy,
g_hash_table_insert(props, DLR_INTERFACE_PROP_DLNA_DEVICE_CLASSES,
retval);
- /* TODO: We should actually be calling g_list_free_full here but the
- strings in dlna_classes are allocated by libxml and not glib. So
- until this is fixed we're stuck with this. */
-
- g_list_free(dlna_classes);
+ g_list_free_full(dlna_classes, g_free);
on_exit: