Fixed error handling on malloc() in case of NULL ptr heartbleed.c