Raise error if allocWp43s fails
Related to #813 (closed), any operations with failed memory allocation should be rolled back rather than crash. Of course it shall raise the out-of-memory error in such case.
We should not simply return without freeing already successfully allocated memory blocks: we call it memory leakage.