Skip to content

Commit

Permalink
Fixes #10386. Segfault fix. Check for null.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Feb 28, 2012
1 parent 510da69 commit 7e6f5fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythtv/tv_play.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8909,7 +8909,8 @@ void TV::customEvent(QEvent *e)
}

SetExitPlayer(true, true);
mctx->player->DisableEdit(-1);
if (mctx && mctx->player)
mctx->player->DisableEdit(-1);
ReturnPlayerLock(mctx);
}

Expand Down

0 comments on commit 7e6f5fa

Please sign in to comment.