]> sourceware.org Git - dm.git/commitdiff
More memory leak plugging.
authorPatrick Caulfield <pcaulfie@redhat.com>
Mon, 15 Apr 2002 13:24:14 +0000 (13:24 +0000)
committerPatrick Caulfield <pcaulfie@redhat.com>
Mon, 15 Apr 2002 13:24:14 +0000 (13:24 +0000)
lib/ioctl/libdevmapper.c

index 977d6b3a16ca5e6de2d59bd00ac561461bb7a70a..94d50ad38c53da979beef945880f664b6726f38f 100644 (file)
@@ -44,6 +44,8 @@ void dm_task_destroy(struct dm_task *dmt)
 
        for (t = dmt->head; t; t = n) {
                n = t->next;
+               free(t->params);
+               free(t->type);
                free(t);
        }
 
This page took 0.026073 seconds and 5 git commands to generate.