]> spindle.queued.net Git - midori/commitdiff
Initialize hosts for prefetching with an empty string
authorAlexander Butenko <a.butenka@gmail.com>
Mon, 12 Oct 2009 17:35:11 +0000 (19:35 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 12 Oct 2009 21:06:04 +0000 (23:06 +0200)
extensions/dnsprefetch.c

index 326050cb0be49360bfe5f81d28c6d2af1f3687d2..4a00be3fad7e5f0c7dabf9fa337963d303d86b84 100644 (file)
@@ -124,6 +124,7 @@ dnsprefetch_activate_cb (MidoriExtension* extension,
     MidoriBrowser* browser;
     guint i;
 
+    katze_assign (hosts, g_strdup (""));
     host_count = 0;
 
     browsers = katze_object_get_object (app, "browsers");