projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix memory leak when doing floodprotected system messages
[citadel.git]
/
citadel
/
msgbase.c
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index 568cefb2e06f6c57175510351cbf1b05acf5b049..f93788e7855d592dc49e13dff2e8335677b282f8 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-3597,6
+3597,8
@@
void flood_protect_quickie_message(const char *from,
cdb_store(CDB_USETABLE,
SKEY(guid),
&ut, sizeof(struct UseTable) );
+
+ FreeStrBuf(&guid);
if (cdbut != NULL) return;
/* no, this message isn't sent recently; go ahead. */