mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
A missing free() found by Valgrind. ( http://developer.kde.org/~sewardj/ )
This commit is contained in:
parent
b2de0b7d44
commit
6eb746e187
@ -34,6 +34,9 @@ void dm_task_destroy(struct dm_task *dmt)
|
||||
free(t);
|
||||
}
|
||||
|
||||
if (dmt->dev_name)
|
||||
free(dmt->dev_name);
|
||||
|
||||
if (dmt->newname)
|
||||
free(dmt->newname);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user