]> spindle.queued.net Git - midori/commitdiff
Do not free form history key hashtable to avoid a crash for now
authorChristian Dywan <christian@twotoasts.de>
Wed, 4 Nov 2009 20:28:37 +0000 (21:28 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 8 Nov 2009 13:39:45 +0000 (14:39 +0100)
extensions/formhistory.c

index 0156ec260693b14253167b6252ece1b4d4fe4174..80934aa9e7ed76d4fd523a1ff078a108cd9f0f81 100644 (file)
@@ -99,7 +99,7 @@ formhistory_build_js ()
                               suggestions,
                               jsforms);
     g_free (suggestions);
-   return script;
+    return script;
 }
 
 static void
@@ -175,7 +175,7 @@ formhistory_session_request_queued_cb (SoupSession*     session,
             db = g_object_get_data (G_OBJECT (extension), "formhistory-db");
             formhistory_update_main_hash (keys, db);
             soup_buffer_free (buffer);
-            g_hash_table_destroy (keys);
+            /* FIXME: g_hash_table_destroy (keys); */
         }
     }
     g_free (method);