diff options
author | Chris Johns <chrisj@rtems.org> | 2012-12-31 23:27:00 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-12-31 23:27:00 +1100 |
commit | 2bbf8f5cddaa50b21ae67147ab5120f3d26fbe70 (patch) | |
tree | 99bf517f7ca71046efb84cacd95dff6cffac23be | |
parent | a393008436d6a5c00956eee0f371c71363c06ae2 (diff) |
Create the RTL error before freeing the buffer.
-rw-r--r-- | rtl-rap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -354,8 +354,8 @@ rtems_rtl_rap_relocate (rtems_rtl_rap_t* rap, rtems_rtl_obj_t* obj) if (!symbol) { - free (symname_buffer); rtems_rtl_set_error (EINVAL, "global symbol not found: %s", symname); + free (symname_buffer); return false; } |