notmuch/lib
Tomi Ollila 27dacc7947 lib/message-file.c: use g_malloc () & g_free () in hash table values
The message->headers hash table values get data returned by
g_mime_utils_header_decode_text ().

The pointer returned by g_mime_utils_header_decode_text is from the
following line in rfc2047_decode_tokens

        return g_string_free (decoded, FALSE);

The docs for g_string_free say

 Frees the memory allocated for the GString. If free_segment is TRUE
 it also frees the character data. If it's FALSE, the caller gains
 ownership of the buffer and must free it after use with g_free().

The remaining frees and allocations referencing to message->headers hash
values have been changed to use g_free and g_malloc functions.

This combines and completes the changes started by David Bremner.
2012-12-24 19:02:05 -04:00
..
database-private.h lib: add date range query support 2012-10-31 16:55:32 -03:00
database.cc lib: Reject multi-message mboxes and deprecate single-message mbox 2012-11-26 21:12:10 -04:00
directory.cc lib: Perform the same transformation to _notmuch_database_find_directory_id 2012-05-23 22:30:32 -03:00
filenames.c lib: fix NULL checks for filenames iterators 2012-09-01 23:03:11 -03:00
gen-version-script.sh lib/gen-version-script.h: add getline and getdelim to notmuch.sym if needed 2011-09-05 07:44:14 -03:00
index.cc lib: Reject multi-message mboxes and deprecate single-message mbox 2012-11-26 21:12:10 -04:00
libsha1.c fix sum moar typos [comments in source code] 2011-06-23 15:58:39 -07:00
libsha1.h fix sum moar typos [comments in source code] 2011-06-23 15:58:39 -07:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local lib: add date range query support 2012-10-31 16:55:32 -03:00
message-file.c lib/message-file.c: use g_malloc () & g_free () in hash table values 2012-12-24 19:02:05 -04:00
message.cc lib: fix warnings when building with clang 2012-12-01 08:10:32 -04:00
messages.c lib: fix messages.c build warn 2012-01-10 06:33:23 -04:00
notmuch-private.h Fix the COERCE_STATUS macro 2012-09-27 12:51:51 -03:00
notmuch.h lib: Make notmuch_database_get_directory return NULL if the directory is not found 2012-05-23 22:30:55 -03:00
parse-time-vrp.cc lib: add date range query support 2012-10-31 16:55:32 -03:00
parse-time-vrp.h lib: add date range query support 2012-10-31 16:55:32 -03:00
query.cc lib: change default for notmuch_query_set_omit_excluded 2012-04-07 22:58:33 -03:00
sha1.c Typsos 2009-11-18 03:21:36 -08:00
string-list.c Fixup string list author 2011-03-21 02:45:18 -04:00
tags.c lib: fix warnings when building with clang 2012-12-01 08:10:32 -04:00
thread.cc lib: Add the exclude flag to notmuch_query_search_threads 2012-03-02 08:28:39 -04:00