make t crash

This commit is contained in:
Dhanya Maliakal
2016-11-01 15:02:14 +01:00
parent 7fc82723b5
commit 1f3a418d93
3 changed files with 16 additions and 8 deletions

View File

@ -7143,7 +7143,11 @@ string slsDetector::setFileName(string s) {
}
}
return fileIO::getFileName();
pthread_mutex_lock(&ms);
s = fileIO::getFileName();
pthread_mutex_unlock(&ms);
return s;
}