Mac OS X (SDL quartz driver) Bug in resizing

Hi,

When using Qemu [1] on Mac OS X, changing the window size ends up in a
segfault. Actually it seems that there are memory leaks if the Window
and its view are not totally released. The ugly patch attached fixes
the troubles:

By the way if any Mac OS X SDL developer want to try out QEMU, I think
there are some libsdl-bugs to track down.

Thanks,

Pierre.

[1] http://bellard.org/qemu

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: sdl.diff.txt
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20040717/3f7778db/attachment.txt