[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]