ofImage = operator

I am getting a crash in the = operator of ofImage. I get EXC_BAD_ACCESS using an = operator. simple example.

ofImage one;
ofImage two;


if (something) one = two;

I am actually using this inside an overloaded = operator. I get an error using FreeImage_Clone. Has anyone had this happen and what can I do to fix it.