Hello Magic Users:
 
It caused memory leak  when i  use ImageMagick-6.2.6. see code below:
I don't know why. Anybody could tell me ? Thanks!
 
Platform
   - Linux 2.6.11-1.1369_FC4 (fedora 4)
 
Thank you
Jia-Yun Ye
 
------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <wand/magick_wand.h>
 
int main ( int argc, char **argv ) {
 
   DrawingWand *DW = (DrawingWand*)NULL;
   while(1){
     DW = NewDrawingWand();
     DestroyDrawingWand( DW );
   }
}
----------------------------------------------------------  
 
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to