[dovecot/core] 300c5b: lib-sql: Memory leak fix when freeing sql dbs from...
GitHub
noreply at github.com
Wed May 11 21:30:10 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 300c5b822cde4a1d7247f49c9a0ab9f14c3ae37b
https://github.com/dovecot/core/commit/300c5b822cde4a1d7247f49c9a0ab9f14c3ae37b
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-05-11 (Wed, 11 May 2016)
Changed paths:
M src/lib-sql/sql-db-cache.c
Log Message:
-----------
lib-sql: Memory leak fix when freeing sql dbs from cache
Normally happened only at deinit.
Commit: 9254a9e94dc794b3f2f2f155e60e3c1908569924
https://github.com/dovecot/core/commit/9254a9e94dc794b3f2f2f155e60e3c1908569924
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-05-11 (Wed, 11 May 2016)
Changed paths:
M src/lib-dict/dict-sql-settings.c
M src/lib-dict/dict-sql-settings.h
M src/lib-dict/dict-sql.c
Log Message:
-----------
dict-sql: Cache reading settings files.
The settings were read for every dict init, which was done for every new
dict connection. This was using a lot of CPU. There are usually only a
couple dict-sql settings files, so we cache all of the ones we read.
Compare: https://github.com/dovecot/core/compare/37312679c891...9254a9e94dc7
More information about the dovecot-cvs
mailing list