mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
message: Use g_hash_table_destroy instead of g_hash_table_unref
I'm trying to chase down 3 still-reachable pointers to glib hash tables. This change didn't help with that, but I think destroy might be a better semantic match for what I actually want. (It shouldn't matter though since I never take any additional references.)
This commit is contained in:
parent
5a84df0f15
commit
7f254fb603
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ notmuch_message_close (notmuch_message_t *message)
|
|||
free (message->value.str);
|
||||
|
||||
if (message->headers)
|
||||
g_hash_table_unref (message->headers);
|
||||
g_hash_table_destroy (message->headers);
|
||||
|
||||
if (message->file)
|
||||
fclose (message->file);
|
||||
|
|
Loading…
Reference in a new issue