From: Bruno S. D. <bs...@te...> - 2006-11-13 15:15:13
|
>> did I or did not make a copy of "bmp" from datafile to bmp? I thought when >> I do this, I have 2 identical bitmaps in RAM. > No, you make a copy of the pointer so you get two pointers pointing to the > same memory block. > If you need to free a bitmap (or simlar) separately you can do > datafile[i].dat = NULL after copying the pointer. I will change my code. Thanks, Bruno |