--- ../uae-0.8.22-org/src/xwin.c	Wed Feb 27 15:08:18 2002
+++ src/xwin.c	Fri Jul 11 21:17:37 2003
@@ -764,6 +764,7 @@
     hints->window_group = mywin;
     hints->flags = WindowGroupHint;
     XSetWMHints(display, mywin, hints);
+    XFree(hints);
 
     XMapRaised (display, mywin);
     XSync (display, 0);
