Memory leak in svn build?

When running SVN build SDL, with an app:

SDL_Init(SDL_INIT_VIDEO);
SDL_Event event;
while (1)
while (SDL_PollEvent(&event)) ;

I am getting a memory leak whenever I drag the window rapidly across
the screen. Could anyone confirm that behaviour? I can’t seem to
reproduce it on SDL 1.2.

Or, is there a way to fix it?

What window? This shouldn’t open any window and for me with Linux I don’t get
any window, but just a process I will need to kill -9 to get rid of it, which
of course was the expected behaviour.On Wednesday 22 April 2009 23:15:14 Jacek Nowak wrote:

When running SVN build SDL, with an app:

SDL_Init(SDL_INIT_VIDEO);
SDL_Event event;
while (1)
while (SDL_PollEvent(&event)) ;

I am getting a memory leak whenever I drag the window rapidly across
the screen. Could anyone confirm that behaviour? I can’t seem to
reproduce it on SDL 1.2.

uh I’m sorry, put SDL_SetVideoMode(640, 480, 32,
SDL_HWSURFACE|SDL_DOUBLEBUF); after SDL_Init of course :confused: I forgot

2009/4/23 Sami N??t?nen <sn.ml at keijukammari.fi>:> On Wednesday 22 April 2009 23:15:14 Jacek Nowak wrote:

When running SVN build SDL, with an app:

SDL_Init(SDL_INIT_VIDEO);
SDL_Event event;
while (1)
? while (SDL_PollEvent(&event)) ;

I am getting a memory leak whenever I drag the window rapidly across
the screen. Could anyone confirm that behaviour? I can’t seem to
reproduce it on SDL 1.2.

What window? This shouldn’t open any window and for me with Linux I don’t get
any window, but just a process I will need to kill -9 to get rid of it, which
of course was the expected behaviour.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


No change.
How did you measured the leak?
How big the leak is in bytes?
What OS? Configuration ie solid window moving or not etc.On Thursday 23 April 2009 18:41:10 Jacek Nowak wrote:

uh I’m sorry, put SDL_SetVideoMode(640, 480, 32,
SDL_HWSURFACE|SDL_DOUBLEBUF); after SDL_Init of course :confused: I forgot

solved. as it turns out, drivers need some RAM memory for some time,
and after 10-20 minutes they stop

2009/4/23 Sami N??t?nen <sn.ml at keijukammari.fi>:> On Thursday 23 April 2009 18:41:10 Jacek Nowak wrote:

uh I’m sorry, put SDL_SetVideoMode(640, 480, 32,
SDL_HWSURFACE|SDL_DOUBLEBUF); after SDL_Init of course :confused: I forgot

No change.
How did you measured the leak?
How big the leak is in bytes?
What OS? Configuration ie solid window moving or not etc.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org