diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-02-16 10:00:28 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-02-16 10:00:28 +0100 |
commit | c1bc23b052e47dd2b2994f971384fdc7cacd327b (patch) | |
tree | 944d3242d030e7e4ff6bb7be84b7f325804710ed /src/plugins/irc/irc-server.h | |
parent | 47e1caa91ff5492aea359a37c671b904290f6020 (diff) | |
download | weechat-c1bc23b052e47dd2b2994f971384fdc7cacd327b.zip |
irc: fix memory leak in purge of hashtables with joins (it was done only for the first server in the list)
Diffstat (limited to 'src/plugins/irc/irc-server.h')
-rw-r--r-- | src/plugins/irc/irc-server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-server.h b/src/plugins/irc/irc-server.h index 4a9438b63..cb1124dfe 100644 --- a/src/plugins/irc/irc-server.h +++ b/src/plugins/irc/irc-server.h @@ -194,6 +194,7 @@ struct t_irc_server regex_t *cmd_list_regexp; /* compiled Regular Expression for /list */ time_t last_user_message; /* time of last user message (anti flood)*/ time_t last_away_check; /* time of last away check on server */ + time_t last_data_purge; /* time of last purge (some hashtables) */ struct t_irc_outqueue *outqueue[2]; /* queue for outgoing messages */ /* with 2 priorities (high/low) */ struct t_irc_outqueue *last_outqueue[2]; /* last outgoing message */ |