summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorEvert Pap <evert.pap@sintecs.nl>2016-05-31 09:04:22 (GMT)
committervojo <joris.van.vossen@sintecs.nl>2017-08-23 08:06:41 (GMT)
commit9c2b380bb1155aeb22d822999df124ed183837b9 (patch)
treea5d7dd9ea43a8f02f60c941bce2083af2814b371 /board
parentd3037195ebe7cc49710d39afbbe2557932198e36 (diff)
downloadu-boot-fsl-qoriq-9c2b380bb1155aeb22d822999df124ed183837b9.tar.xz
Fix double free on checkum error
Diffstat (limited to 'board')
-rw-r--r--board/scalys/common/board_configuration_data.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/scalys/common/board_configuration_data.c b/board/scalys/common/board_configuration_data.c
index fe96a2e..b6374da 100644
--- a/board/scalys/common/board_configuration_data.c
+++ b/board/scalys/common/board_configuration_data.c
@@ -143,7 +143,6 @@ const void* get_boardinfo_eeprom(void)
if (calculated_crc != received_crc) {
debug("Checksum error. expected %08x, got %08x\n",
calculated_crc, received_crc);
- free(bcd_data);
errno = -EBADMSG;
goto err_free;
}