MFC r248627:
Don't attempt to reference sc before testing whether it's NULL.
Submitted by: Sascha Wildner Obtained from: DragonFly