aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests/sysfs_mock/class/mtd/mtd0/flags
diff options
context:
space:
mode:
authorliaohua <liaohua4@huawei.com>2022-02-18 11:22:19 +0800
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-10-04 23:29:26 +0200
commit59fe9659c82e78bb02d06aa2581ba78061304013 (patch)
tree0640cb64e52ae0805942da1f4c044a92799cba16 /tests/unittests/sysfs_mock/class/mtd/mtd0/flags
parentb83c64f7a12538417649accc1269c22d5ff074bb (diff)
nor-utils: fix memory leak
This patch replace "free(rfd.sector_map)" with "free(rfd.header)" to fix memory leak. Signed-off-by: liaohua <liaohua4@huawei.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/unittests/sysfs_mock/class/mtd/mtd0/flags')
0 files changed, 0 insertions, 0 deletions