Memory crunch with OpenGL

I’ve developed a samll drawibng package using OpenGl and MFC on WindowsNT4.0, in which I redraw the wj\hole scene many times. Suppose I’ve drawn a simple rectangle in a single color and then with every mouse click I just redraw it. This procesure starts to eat up the memory in chunks of 4k and after sometime my system goes down for want of more memory. This is sure that there is no memory leak in my code. What code be the problem ? Is it related to OpenGL or may be I’m not using it correctly ? Please help

Hmmm you might want to post the OpenGL part of the code, it would help to see if the problem is in that part.

Chris