[RFC 1/3] dm: fix memory leak

Joe Thornber (thornber@sistina.com)
Tue, 1 Jul 2003 16:01:21 +0100


Fix memory leak.
--- diff/drivers/md/dm-ioctl.c 2003-06-30 10:07:33.000000000 +0100
+++ source/drivers/md/dm-ioctl.c 2003-06-30 11:39:38.000000000 +0100
@@ -238,6 +238,7 @@
list_del(&hc->name_list);
unregister_with_devfs(hc);
dm_put(hc->md);
+ free_cell(hc);
}

void dm_hash_remove_all(void)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/