add free functions for holder_c