As shown in the previous commit, using sizeof(type_t) is a little bit more error-prone when copy-pasting code, so extracting the size information from the pointer which is being dealt with seems like a better alternative.
As shown in the previous commit, using sizeof(type_t) is a little bit more error-prone when copy-pasting code, so extracting the size information from the pointer which is being dealt with seems like a better alternative.