[Bug Fix] Fix a memory leak in dls_upnp_get_resource

Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>