[RFC 1/3] dm: fix memory leak

From: Joe Thornber (thornber@sistina.com)
Date: Tue Jul 01 2003 - 10:01:21 EST


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/



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:13 EST