kernel: fix a memory leak in split_rootfs_data()
authorHauke Mehrtens <hauke@openwrt.org>
Sun, 28 Apr 2013 17:01:56 +0000 (17:01 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Sun, 28 Apr 2013 17:01:56 +0000 (17:01 +0000)
commitf5095240a53e608e9cc724d0f2595c404e2de3bc
treefa15fae7de4e271b738b7a070eff41fb9fedce5d
parent6b3aa2a1be16ecb66c86551bfdac696f60eb3da7
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