Skip to content
Snippets Groups Projects
Commit a06fd592 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by gerrit2
Browse files

upnp: fix waiting while holding a lock


Blocking function (sleep) called when inside locked region.
This patch uses a move-in-temporary idiom to prevent that.
Was detected by Coverity scan.

Change-Id: I7ab74001c3d9de11e1d95b5e4a1c1bd0a8dce8c9
Reviewed-by: default avatarOlivier SOLDANO <olivier.soldano@savoirfairelinux.com>
parent 581b1a16
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment