I want to use a function to allocate and initialize two related struct instances. However I can't get the memory to persist outside of the allocation function. Also, I'd rather do this without memory leaks if at all possible:I want to use a function to allocate and initia