diff --git a/src/c/gfun.d b/src/c/gfun.d index 058d080e5..6fa96119e 100644 --- a/src/c/gfun.d +++ b/src/c/gfun.d @@ -244,9 +244,9 @@ _ecl_standard_dispatch(cl_object frame, cl_object gf) * compute the applicable methods. We must save * the keys and recompute the cache location if * it was filled. */ + cl_object keys = cl_copy_seq(vector); func = compute_applicable_method(env, frame, gf); if (env->values[1] != ECL_NIL) { - cl_object keys = cl_copy_seq(vector); if (e->key != OBJNULL) { e = ecl_search_cache(cache); }