diff options
| author | David Bremner <david@tethera.net> | 2022-01-09 10:38:04 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-01-22 21:14:29 -0400 |
| commit | df7c5acd759f22fcb537490f62b85d39aa71d677 (patch) | |
| tree | 0ffaec1d342f1440bbdbcb1debce1d6ac9c17cb0 /lib/database.cc | |
| parent | 8dab460a082633903a0cf50938378ec12794819e (diff) | |
lib/config: move g_key_File_get_string before continue
In [1] Austin Ray reported some memory leaks in
notmuch_database_open. One of those leaks is caused by jumping to the
next key without freeing val. This change avoids that leak.
[1]: id:20220105224538.m36lnjn7rf3ieonc@athena
Diffstat (limited to 'lib/database.cc')
0 files changed, 0 insertions, 0 deletions
