Additional corrections for Safe_calloc in sdcdb