diff options
| author | Jesper Juhl <[email protected]> | 2007-07-18 00:49:08 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-18 08:38:22 -0700 |
| commit | 851a8a7fd451db3dcd5d44d784083f0f66b24d57 (patch) | |
| tree | 0d9e96cd7d3edecb05487366b8b1c8d363920516 /include/linux/debugobjects.h | |
| parent | cb32da0416b823b7f4b65e7e85d6cba16ca4d1e1 (diff) | |
dm: fix memory leak in dm_create_persistent() when starting metadata update thread fails
If, in dm_create_persistent(), the call to create_singlethread_workqueue()
fails then we'll return without freeing the memory allocated to 'ps', thus
leaking sizeof(struct pstore) bytes. This patch fixes the leak.
Signed-off-by: Jesper Juhl <[email protected]
Acked-by: Alasdair G Kergon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions