rbd: fix a memory leak in rbd_get_client()
authorAlex Elder <elder@dreamhost.com>
Tue, 24 Jan 2012 16:08:36 +0000 (10:08 -0600)
committerSage Weil <sage@newdream.net>
Thu, 2 Feb 2012 20:49:27 +0000 (12:49 -0800)
commit97bb59a03dd6767fcc00be09b0c6d9e5294eeea6
treef04006e8040913d49fb1841ed93abed6d84308a1
parentd8fb02abdc39f92a1066313e2b17047876afa8f9
rbd: fix a memory leak in rbd_get_client()

If an existing rbd client is found to be suitable for use in
rbd_get_client(), the rbd_options structure is not being
freed as it should.  Fix that.

Signed-off-by: Alex Elder <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
drivers/block/rbd.c