Pointer dereference before NULL check
Merge pull request #123 from ivoronin/master

Pointer dereference before NULL check