Fix memory leak when doing floodprotected system messages
[citadel.git] / citadel / msgbase.c
index 568cefb2e06f6c57175510351cbf1b05acf5b049..f93788e7855d592dc49e13dff2e8335677b282f8 100644 (file)
@@ -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. */