agent: Tidy up upnp_mapping handling
Use a NULL check to determine if upnp_mapping is an empty list (rather than counting every element). Use g_slist_free_full() where appropriate. This introduces no functional changes.
Loading
Please register or sign in to comment