osd/OSD.h: add missing unlock of osd_lock

CID 1019560 Missing unlock (CWE-667)

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2013-05-10 14:11:14 +02:00
parent b097f65627
commit f56cb98482

View File

@ -1233,6 +1233,7 @@ protected:
void _process(Command *c) {
osd->osd_lock.Lock();
if (osd->is_stopping()) {
osd->osd_lock.Unlock();
delete c;
return;
}