drbd: fix memory leak
authorDan Carpenter <error27@gmail.com>
Thu, 22 Apr 2010 12:27:23 +0000 (14:27 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 22 Apr 2010 12:27:23 +0000 (14:27 +0200)
commit7ac314c82f552eefebaa91c9fffe8c0d435641b9
tree08143785dae9710e291af83aae8278576f103786
parent6de9400250f95f82da432c28b9b43823f4154c58
drbd: fix memory leak

We leak memory if "--dry-run" is not supported by the peer.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/drbd/drbd_main.c