[dm-devel] [RFC 1/3] dm: fix memory leak

Joe Thornber thornber at sistina.com
Tue Jul 1 10:02:02 UTC 2003


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)




More information about the dm-devel mailing list