Openfire 3.6.4 memory leak with Empathy

I have committed my patch - all of the code is in SVN trunk right now. This should simplify getting things started considerably.