Remove declaration of sdshdr
Modify memory allocation
Add sdsdelete(s)