Skip to content

Commit

Permalink
[Qt/jobs] Safeguard against concurrent execution of jobWindow::runAll…
Browse files Browse the repository at this point in the history
…Job() and subsequent crash from NULL pointer dereference
  • Loading branch information
eumagga0x2a committed Oct 5, 2019
1 parent 1687266 commit 2ad14a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions avidemux/qt4/ADM_jobs/src/ADM_jobControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ void jobWindow::cleanup(void)
*/
void jobWindow::runAllJob(void)
{
if(dialog) return;
int n=listOfJob.size();
dialog=new jobProgress(n);

Expand Down

0 comments on commit 2ad14a5

Please sign in to comment.