Google interview question

Implement smart malloc and smart free function in C. These functions must return a pointer which is memory aligned