mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
* notmuch-config: fix small leak from 'g_key_file_to_data'
Signed-off-by: Dirk-Jan C. Binnema <djcb.bulk@gmail.com>
This commit is contained in:
parent
ea4cb3cbdc
commit
926c71e6b9
1 changed files with 2 additions and 0 deletions
|
@ -317,9 +317,11 @@ notmuch_config_save (notmuch_config_t *config)
|
||||||
fprintf (stderr, "Error saving configuration to %s: %s\n",
|
fprintf (stderr, "Error saving configuration to %s: %s\n",
|
||||||
config->filename, error->message);
|
config->filename, error->message);
|
||||||
g_error_free (error);
|
g_error_free (error);
|
||||||
|
g_free (data);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_free (data);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue