[Xmonad] darcs patch: fixes a possible memory leak
Donald Bruce Stewart
dons at cse.unsw.edu.au
Mon Jun 25 06:43:56 EDT 2007
> this fixes a possible memory leak: when "loadQueryFont" is called the
> returned FontStruct must be freed after using it.
> By the way, this was the problem of xmobar too.
> Mon Jun 25 12:16:29 CEST 2007 Andrea Rossato <andrea.rossato at unibz.it>
> * fixes a possible memory leak
should we have something like:
withFont $ \f -> do
to track this resource? Or perhaps tie it to ForeignPtr, to have the GC
free it automatically?
More information about the Xmonad