diff options
author | Rick Bell <richard.s.bell@intel.com> | 2014-07-10 13:45:15 -0700 |
---|---|---|
committer | Rick Bell <richard.s.bell@intel.com> | 2014-07-10 13:45:15 -0700 |
commit | a885579c011891f0e33f8d1ceea642514c36b9be (patch) | |
tree | 390d6fbee41100920dd5d3083b3db1a7b82ccb15 | |
parent | 83a2150b05f0ae4cb4fef3792a845989045c52eb (diff) | |
parent | c15d2ad172e519d685adc2b23c93b8d298490ab4 (diff) | |
download | dleyna-renderer-a885579c011891f0e33f8d1ceea642514c36b9be.tar.gz |
Merge pull request #147 from jku/129
[Device] Free dlna class strings after use
-rw-r--r-- | libdleyna/renderer/device.c | 6 |
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: |