[Issue 10445] memroy leak in get_mra