Workaround for a bug in clang. Must assign memory allocation to something
Workaround and explaination for clang bug