I wanted to replace talloc functions used in osmocom project. i am completely new to talloc function and actual implement. please help with that.