Some memory allocation improvements
[rsync.git] / match.c
diff --git a/match.c b/match.c
index 4ae7aa469681e127a8634342c1a89a97f8c97166..9d5c9259468e6ada1c36c7ffc9f5273f2983763e 100644 (file)
--- a/match.c
+++ b/match.c
@@ -65,8 +65,6 @@ static void build_hash_table(struct sum_struct *s)
                if (hash_table)
                        free(hash_table);
                hash_table = new_array(int32, tablesize);
-               if (!hash_table)
-                       out_of_memory("build_hash_table");
                alloc_size = tablesize;
        }