net+crypto: Use vmalloc for zlib inflate buffers.
[linux-2.6.git] / crypto / ablkcipher.c
index a854df2..fdc67d3 100644 (file)
@@ -141,8 +141,7 @@ err:
 
        if (walk->iv != req->info)
                memcpy(req->info, walk->iv, tfm->crt_ablkcipher.ivsize);
-       if (walk->iv_buffer)
-               kfree(walk->iv_buffer);
+       kfree(walk->iv_buffer);
 
        return err;
 }