[Kazehakase-cvs] CVS update: kazehakase/src/mozilla

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Wed Dec 6 20:59:42 JST 2006


Index: kazehakase/src/mozilla/kz-mozembed.cpp
diff -u kazehakase/src/mozilla/kz-mozembed.cpp:1.221 kazehakase/src/mozilla/kz-mozembed.cpp:1.222
--- kazehakase/src/mozilla/kz-mozembed.cpp:1.221	Wed Dec  6 15:08:04 2006
+++ kazehakase/src/mozilla/kz-mozembed.cpp	Wed Dec  6 20:59:42 2006
@@ -1037,17 +1037,15 @@
 					serializer->SerializeToString(node, value);
 					NS_UTF16ToCString (value, NS_CSTRING_ENCODING_UTF8, cValue);
 				}
-				gchar *contents = g_strdup(cValue.get());
-				kz_search_register_document(kz_search, uri, title, contents, last_modified);
+				kz_search_register_document(kz_search, uri, title, cValue.get(), last_modified);
 #ifdef WITH_ANTHY
 				KzSearch *search = kz_search_new("anthy-trainer");
 				if (search)
 				{
-					kz_search_register_document(search, uri, title, contents, last_modified);
+					kz_search_register_document(search, uri, title, cValue.get(), last_modified);
 					g_object_unref(search);
 				}
 #endif
-				g_free(contents);
 			}
 		}
 	}


More information about the Kazehakase-cvs mailing list
Back to archive index