and figured out that at the beginning (this line) :
MagickCoreGenesis(*argv,MagickTrue);
this sample application takes 1 624 KB memory and at the end :
return(0);
it takes 3 276 KB memory.
Where is 1652 KB memory ? Why it doesn't free all allocated memory ?
Greetings