xmpp_fetch_mortuary_backend(): copy the string over so we can use it later and free...
authorWilfried Göesgens <willi@citadel.org>
Thu, 29 Apr 2010 22:12:06 +0000 (22:12 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 29 Apr 2010 22:12:06 +0000 (22:12 +0000)
commit3cf8a1a8e2f9c5aad66f22f9c59b96d2d617a3f3
tree9afab96b033d360391c23de4040eb7a4cd63588e
parent6bcccabbc7624b13bb3ae2f857c9873dee8b4c5c
xmpp_fetch_mortuary_backend(): copy the string over so we can use it later and free it. else we will free a non-malloced pointer or loose that buffer before we want to use it.
Btw, theres no need for specifying generic_free_handler, thats default.
citadel/modules/xmpp/xmpp_presence.c