Fixed hyperlink bug, #46
[rodin/chimara.git] / libchimara / window.c
index 84b6fd9431b4987b73e7832811d3b664e8418a3f..011b5fbf99ee6859f45940d1ba82ddf14452d5ee 100644 (file)
@@ -37,7 +37,7 @@ window_new_common(glui32 rock)
        win->buffer = g_string_sized_new(1024);
 
        /* Initialise hyperlink table */
-       win->hyperlinks = g_hash_table_new_full(g_int_hash, g_direct_equal, g_free, g_object_unref);
+       win->hyperlinks = g_hash_table_new_full(g_int_hash, g_int_equal, g_free, g_free);
        
        return win;
 }