summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-04-24 11:53:07 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2020-04-24 11:53:07 +0200
commit0013ea8c367d8444f75443cb34ef9973e42c3d6b (patch)
treef752463c5129ac9fe6af50bf850773b095b6dd4f
parent890d0d005793d54f4362f45d3b5a8831f71f53f3 (diff)
Revert "exactness: do not access potential NULL pointer"
This reverts commit 745270061883d9047b90b4bb53084729d3c60d35.
-rw-r--r--src/bin/exactness/player.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bin/exactness/player.c b/src/bin/exactness/player.c
index 0662181e39..6a3df45ca0 100644
--- a/src/bin/exactness/player.c
+++ b/src/bin/exactness/player.c
@@ -1020,11 +1020,8 @@ _write_unit_file(void)
1020 Exactness_Unit *tmp = NULL; 1020 Exactness_Unit *tmp = NULL;
1021 1021
1022 EINA_SAFETY_ON_NULL_RETURN(_src_unit); 1022 EINA_SAFETY_ON_NULL_RETURN(_src_unit);
1023 if (_src_type == FTYPE_EXU) 1023 if (_src_type == FTYPE_EXU) tmp = exactness_unit_file_read(_src_filename);
1024 { 1024 _dest_unit->actions = tmp->actions;
1025 tmp = exactness_unit_file_read(_src_filename);
1026 _dest_unit->actions = tmp->actions;
1027 }
1028 exactness_unit_file_write(_dest_unit, _dest); 1025 exactness_unit_file_write(_dest_unit, _dest);
1029 } 1026 }
1030} 1027}