Check for allocation = NULL. This fixes a segfault during applet load
Merge pull request #10 from daschuer/allocation_null

Check for allocation = NULL. This fixes a segfault during applet load