I create a DLL, which return a structure
Code:
struct opStructure {
	int num;
	int **motif1;
	int **motif2;
};
The DLL allocates memory for motif1 and motif2, return opStructure to the program using this DLL. But how to I free this new memory of motif1 and motif2? I try to free this 2 memory in the program usinng this DLL but have error. Or I do not need to free them? DLL itself will free it??