Skip to content

Commit 443aa98

Browse files
authored
Revert "glib_compat/glib_compact: Clear the buffer in g_hash_table_resize (#2…" (#2220)
This reverts commit c8bc9eb.
1 parent fd2e0e6 commit 443aa98

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

glib_compat/glib_compat.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,6 @@ static void g_hash_table_resize (GHashTable *hash_table)
716716
g_hash_table_set_shift_from_size (hash_table, hash_table->nnodes * 2);
717717

718718
new_nodes = g_new0 (GHashNode, hash_table->size);
719-
memset(new_nodes, 0, hash_table->size * sizeof(GHashNode));
720719

721720
for (i = 0; i < old_size; i++)
722721
{

0 commit comments

Comments
 (0)