kernel: fix a memory leak in split_rootfs_data()
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Apr 2013 17:01:56 +0000 (17:01 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Apr 2013 17:01:56 +0000 (17:01 +0000)
commitb0d6f507362243f3cd0ef92cc41256aaf2b7da8d
treefa15fae7de4e271b738b7a070eff41fb9fedce5d
parenta45263c32edfd7efa0c28628c389201f86bf2915
kernel: fix a memory leak in split_rootfs_data()

allocate_partition() copies all the content of dpart into a new struct.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36475 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/patches-3.8/400-rootfs_split.patch
target/linux/generic/patches-3.9/400-rootfs_split.patch