21 lines
911 B
Diff
21 lines
911 B
Diff
|
--- evolution-data-server-1.7.91/camel/providers/imap/camel-imap-search.c.maybe-fix-crash 2006-08-16 15:56:44.000000000 -0400
|
||
|
+++ evolution-data-server-1.7.91/camel/providers/imap/camel-imap-search.c 2006-08-16 15:57:09.000000000 -0400
|
||
|
@@ -342,8 +342,6 @@ sync_match(CamelImapSearch *is, struct _
|
||
|
}
|
||
|
g_string_append_c (search, '"');
|
||
|
}
|
||
|
- camel_search_words_free (words);
|
||
|
-
|
||
|
/* We only try search using utf8 if its non us-ascii text? */
|
||
|
if ((words->type & CAMEL_SEARCH_WORD_8BIT) && (store->capabilities & IMAP_CAPABILITY_utf8_search)) {
|
||
|
response = camel_imap_command (store, folder, NULL,
|
||
|
@@ -352,6 +350,8 @@ sync_match(CamelImapSearch *is, struct _
|
||
|
if (response == NULL)
|
||
|
store->capabilities &= ~IMAP_CAPABILITY_utf8_search;
|
||
|
}
|
||
|
+ camel_search_words_free (words);
|
||
|
+
|
||
|
if (response == NULL)
|
||
|
response = camel_imap_command (store, folder, NULL,
|
||
|
"UID SEARCH %s", search->str);
|