result is a pointer to a pointer so you have to dereference it one extra time. (*result)->data
I don't know if that is exactly what you want. I don't know the reason why you use a pointer to a pointer. Is it because result points to an array of pointers? In that case you probably want to specify the array index. result[i]->data