summaryrefslogtreecommitdiff
path: root/tests/fs-tests/stress/atoms/.gitignore
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-10 15:01:32 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-10 15:30:04 +0100
commitc64eea6eac7fd4c48fcf8e64636765a1f4e4e03b (patch)
tree20080a9ad2a0342b6f7a4355db8f62849c917f14 /tests/fs-tests/stress/atoms/.gitignore
parentc890094638880072cfa95a06cb1353f0214a11a0 (diff)
mtd_debug: cleanup error handling in flash_to_file
The existing code had multiple error handling labels and did things like checking if a buffer is not NULL before freeing it. This patch collapses all of this into a single label. We can do this, because the standard guarantees us that it is safe to call free() with a NULL pointer. This also has the side effect of removing the possibility of using the wrong error label and accidentally leaking something. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fs-tests/stress/atoms/.gitignore')
0 files changed, 0 insertions, 0 deletions