projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e547062
)
event_jid is a buffer, not a pointer, so don't free() it
author
Art Cancro
<ajc@citadel.org>
Tue, 16 Nov 2010 15:48:51 +0000
(10:48 -0500)
committer
Art Cancro
<ajc@citadel.org>
Tue, 16 Nov 2010 15:48:51 +0000
(10:48 -0500)
citadel/modules/xmpp/xmpp_queue.c
patch
|
blob
|
history
diff --git
a/citadel/modules/xmpp/xmpp_queue.c
b/citadel/modules/xmpp/xmpp_queue.c
index 986cb2570b5e10b9af61dfce7146153c0c092bfc..77ce80343ece12c67e3520ed2e6d40eac0e7787c 100644
(file)
--- a/
citadel/modules/xmpp/xmpp_queue.c
+++ b/
citadel/modules/xmpp/xmpp_queue.c
@@
-155,11
+155,6
@@
void xmpp_cleanup_events(void)
ptr = xmpp_queue;
xmpp_queue = NULL;
while (ptr != NULL) {
-#if 0
-// TODO: why do we have an invalid pointer here?
- if (ptr->event_jid != NULL)
- free(ptr->event_jid);
-#endif
ptr2 = ptr->next;
free(ptr);
ptr = ptr2;