Fix a stupid segfault caused by dereferencing a NULL ptr.
 -Erik
2 files changed