mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
config: Fix free in 'config get' implementation.
The array returned by g_key_file_get_string_list() should be freed with g_strfreev(), not free().
This commit is contained in:
parent
5073de34b4
commit
443faa3fcc
1 changed files with 1 additions and 1 deletions
|
@ -751,7 +751,7 @@ notmuch_config_command_get (void *ctx, char *item)
|
|||
for (i = 0; i < length; i++)
|
||||
printf ("%s\n", value[i]);
|
||||
|
||||
free (value);
|
||||
g_strfreev (value);
|
||||
}
|
||||
|
||||
notmuch_config_close (config);
|
||||
|
|
Loading…
Reference in a new issue