Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Did you try closing the file you pass MagickReadImageFile()? ImageMagick call fdopen() on the file descriptior you pass and the memory is not released until you call fclose().