Blame evolution-data-server-1.7.91-maybe-fix-crash.patch
|
Ray Strode |
3ea179 |
--- evolution-data-server-1.7.91/camel/providers/imap/camel-imap-search.c.maybe-fix-crash 2006-08-16 15:56:44.000000000 -0400
|
|
Ray Strode |
3ea179 |
+++ evolution-data-server-1.7.91/camel/providers/imap/camel-imap-search.c 2006-08-16 15:57:09.000000000 -0400
|
|
Ray Strode |
3ea179 |
@@ -342,8 +342,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);
|
|
Ray Strode |
3ea179 |
-
|
|
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)) {
|
|
Ray Strode |
3ea179 |
response = camel_imap_command (store, folder, NULL,
|
|
Ray Strode |
3ea179 |
@@ -352,6 +350,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);
|