jabberd2/jabberd2 — pull request #79 by sdebnath (2014-08-28 19:52:13+00:00)
Title: Allocate memory and copy the xhash node key.

This change breaks away from relying on the user supplied memory storing
the key to exist for the lifetime of the xhash node object. There are
many scenarious where such a scheme is not favorable. The changes involve
duplicating the key in new memory which is then managed alongside the
lifetime of the node.