]> git.notmuchmail.org Git - notmuch/commitdiff
lib/config: move g_key_File_get_string before continue
authorDavid Bremner <david@tethera.net>
Sun, 9 Jan 2022 14:38:04 +0000 (10:38 -0400)
committerDavid Bremner <david@tethera.net>
Sun, 23 Jan 2022 01:14:29 +0000 (21:14 -0400)
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


No differences found