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:
Carl Worth 2009-10-20 13:07:19 -07:00
parent 5a84df0f15
commit 7f254fb603

View file

@ -111,7 +111,7 @@ notmuch_message_close (notmuch_message_t *message)
free (message->value.str); free (message->value.str);
if (message->headers) if (message->headers)
g_hash_table_unref (message->headers); g_hash_table_destroy (message->headers);
if (message->file) if (message->file)
fclose (message->file); fclose (message->file);