dwarf: Avoid a leak for a no-cache failure in create_state_record_for. Avoid a duplicate copy for a cache miss.
dwarf: Avoid a leak for a no-cache failure in create_state_record_for.
Avoid a duplicate copy for a cache miss.

vtjnash/libunwind,frida/libunwind,frida/libunwind,vtjnash/libunwind,libunwind/libunwind,yuyichao/libunwind,djwatson/libunwind,unkadoug/libunwind,libunwind/libunwind,vtjnash/libunwind,rantala/libunwind,rantala/libunwind,libunwind/libunwind,djwatson/libunwind,frida/libunwind,yuyichao/libunwind,yuyichao/libunwind,djwatson/libunwind,rantala/libunwind,unkadoug/libunwind,unkadoug/libunwind