diff --git a/src/target/target.c b/src/target/target.c index 61ed9662d..ceecaee10 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -5164,7 +5164,6 @@ static int jim_target_wait_state(Jim_Interp *interp, int argc, Jim_Obj *const *a "target: %s wait %s fails (%#s) %s", target_name(target), n->name, eObj, target_strerror_safe(e)); - Jim_FreeNewObj(interp, eObj); return JIM_ERR; } return JIM_OK;