Blame evolution-data-server-1.7.91-maybe-fix-crash.patch
|
Matthew Barnes |
058223 |
diff -up evolution-data-server-2.21.3/camel/providers/imap/camel-imap-search.c.maybe-fix-crash evolution-data-server-2.21.3/camel/providers/imap/camel-imap-search.c
|
|
Matthew Barnes |
058223 |
--- evolution-data-server-2.21.3/camel/providers/imap/camel-imap-search.c.maybe-fix-crash 2007-11-29 07:53:34.000000000 -0500
|
|
Matthew Barnes |
058223 |
+++ evolution-data-server-2.21.3/camel/providers/imap/camel-imap-search.c 2007-12-03 11:51:26.000000000 -0500
|
|
Matthew Barnes |
058223 |
@@ -344,7 +344,6 @@ sync_match(CamelImapSearch *is, struct _
|
|
Ray Strode |
3ea179 |
}
|
|
Ray Strode |
3ea179 |
g_string_append_c (search, '"');
|
|
Ray Strode |
3ea179 |
}
|
|
Ray Strode |
3ea179 |
- camel_search_words_free (words);
|
|
Matthew Barnes |
058223 |
|
|
Ray Strode |
3ea179 |
/* We only try search using utf8 if its non us-ascii text? */
|
|
Ray Strode |
3ea179 |
if ((words->type & CAMEL_SEARCH_WORD_8BIT) && (store->capabilities & IMAP_CAPABILITY_utf8_search)) {
|
|
Matthew Barnes |
058223 |
@@ -354,6 +353,8 @@ sync_match(CamelImapSearch *is, struct _
|
|
Ray Strode |
3ea179 |
if (response == NULL)
|
|
Ray Strode |
3ea179 |
store->capabilities &= ~IMAP_CAPABILITY_utf8_search;
|
|
Ray Strode |
3ea179 |
}
|
|
Ray Strode |
3ea179 |
+ camel_search_words_free (words);
|
|
Ray Strode |
3ea179 |
+
|
|
Ray Strode |
3ea179 |
if (response == NULL)
|
|
Ray Strode |
3ea179 |
response = camel_imap_command (store, folder, NULL,
|
|
Ray Strode |
3ea179 |
"UID SEARCH %s", search->str);
|