Ok, I see that. When you call Put() you're transferring control of the memory
to the hash table; it doesn't copy it over.
But why did you fix it the long way instead of just calling strdup() ?
Ah, you found my bug and fixed it already? Thanks!
r8547 | dothebart | 2010-04-29 18:32:32 -0400 (Thu, 29 Apr 2010) | 2 lines
Changed paths:
M /trunk/libcitadel/lib/libcitadel.h
M /trunk/libcitadel/lib/tools.c
* Make memreadlinelen() const
-
r8546 | dothebart | 2010-04-29 18:12:06 -0400 (Thu, 29 Apr 2010) | 3 lines
Changed paths:
M /trunk/citadel/modules/xmpp/xmpp_presence.c
xmpp_fetch_mortuary_backend(): copy the string over so we can use it later and
free i
r8545 | dothebart | 2010-04-29 17:15:41 -0400 (Thu, 29 Apr 2010) | 2 lines
Changed paths:
M /trunk/webcit/subst.c
* free the wildfire buffer on session detaching
---
Do Apr 29 2010 16:57:24 EDT von "dothebart" Betreff: Citadel commit log: revision 8542
r8542 | dothebart | 2010-04-29 16:57:19 -0400 (Thu, 29 Apr 2010) | 2 lines Changed paths: M /trunk/webcit/subst.c M /trunk/webcit/t
r8542 | dothebart | 2010-04-29 16:57:19 -0400 (Thu, 29 Apr 2010) | 2 lines
Changed paths:
M /trunk/webcit/subst.c
M /trunk/webcit/tcp_sockets.c
M /trunk/webcit/webcit.h
* fix wildfire exception handling; collect stuf
r8541 | dothebart | 2010-04-29 14:49:10 -0400 (Thu, 29 Apr 2010) | 2 lines
Changed paths:
M /trunk/citadel/modules/xmpp/serv_xmpp.c
* xmpp_xml_end(): output what we don't understand in the error message.
-