1
0
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:
Alasdair Kergon 2002-03-13 23:19:20 +00:00
parent b2de0b7d44
commit 6eb746e187

View File

@ -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);