diff options
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1043,7 +1043,7 @@ static struct array_cache **alloc_alien_cache(int node, int limit) | |||
1043 | } | 1043 | } |
1044 | ac_ptr[i] = alloc_arraycache(node, limit, 0xbaadf00d); | 1044 | ac_ptr[i] = alloc_arraycache(node, limit, 0xbaadf00d); |
1045 | if (!ac_ptr[i]) { | 1045 | if (!ac_ptr[i]) { |
1046 | for (i--; i <= 0; i--) | 1046 | for (i--; i >= 0; i--) |
1047 | kfree(ac_ptr[i]); | 1047 | kfree(ac_ptr[i]); |
1048 | kfree(ac_ptr); | 1048 | kfree(ac_ptr); |
1049 | return NULL; | 1049 | return NULL; |