upnp: MediaServerList::m_lock protects the access to m_list
authorSteve Lhomme <robux4@videolabs.io>
Wed, 1 Jun 2016 14:38:07 +0000 (16:38 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 1 Jun 2016 15:41:43 +0000 (17:41 +0200)
commitf62dfb1bd442a10784519b023e58406dbcdd34ec
tree939d9bb63999fe53bafc8e57e2b50a178c0d6c5e
parent1e678ab3877233b07bb36f6441fb25f8e24b98d3
upnp: MediaServerList::m_lock protects the access to m_list

parseNewServer() is called from various threads of UPNP so we need to protect
our server list

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/services_discovery/upnp.cpp