Report question

Question: Is it bad practice to allocate memory in a DLL and give a pointer to it to a client app?