projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa2ac57
)
Fix memory leak when doing floodprotected system messages
author
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 1 Dec 2012 15:43:28 +0000
(16:43 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 1 Dec 2012 15:43:28 +0000
(16:43 +0100)
citadel/msgbase.c
patch
|
blob
|
history
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. */