Fix unwind info freeing code in DWARF parser
Fix unwind info freeing code in DWARF parser

The DWARF code allocates its unwind_info objects out of a
memory pool.  The code which frees the object therefore calls
the mempool freeing code.  However, there are cases where the
free code will be run with an unwind_info that was allocated
through a different mechanism (e.g. an ARM exidx table entry).
In these cases, the object should not be freed through the
mempool code.

To correct this, a check was added to ensure that the unwind_info
is of the appropriate type before passing the object along to the
mempool to be freed.

geekboxzone/lollipop_external_libunwind,geekboxzone/mmallow_external_libunwind,unkadoug/libunwind,pathscale/libunwind,Chilledheart/libunwind,rntz/libunwind,yuyichao/libunwind,tkelman/libunwind,yuyichao/libunwind,dropbox/libunwind,zliu2014/libunwind-tilegx,tony/libunwind,pathscale/libunwind,fdoray/libunwind,fdoray/libunwind,Chilledheart/libunwind,zeldin/platform_external_libunwind,evaautomation/libunwind,dropbox/libunwind,androidarmv6/android_external_libunwind,rogwfu/libunwind,bo-on-software/libunwind,djwatson/libunwind,wdv4758h/libunwind,dagar/libunwind,tkelman/libunwind,CyanogenMod/android_external_libunwind,project-zerus/libunwind,frida/libunwind,unkadoug/libunwind,geekboxzone/mmallow_external_libunwind,vtjnash/libunwind,krytarowski/libunwind,igprof/libunwind,martyone/libunwind,tronical/libunwind,rantala/libunwind,dreal-deps/libunwind,olibc/libunwind,wdv4758h/libunwind,mpercy/libunwind,krytarowski/libunwind,libunwind/libunwind,atanasyan/libunwind-android,bo-on-software/libunwind,tronical/libunwind,Chilledheart/libunwind,vtjnash/libunwind,fillexen/libunwind,atanasyan/libunwind,martyone/libunwind,yuyichao/libunwind,maltek/platform_external_libunwind,fillexen/libunwind,maltek/platform_external_libunwind,joyent/libunwind,igprof/libunwind,djwatson/libunwind,project-zerus/libunwind,DroidSim/platform_external_libunwind,geekboxzone/lollipop_external_libunwind,vegard/libunwind,rantala/libunwind,olibc/libunwind,zeldin/platform_external_libunwind,wdv4758h/libunwind,vegard/libunwind,rogwfu/libunwind,CyanogenMod/android_external_libunwind,olibc/libunwind,bo-on-software/libunwind,SyndicateRogue/libunwind,android-ia/platform_external_libunwind,dagar/libunwind,libunwind/libunwind,fillexen/libunwind,mpercy/libunwind,zliu2014/libunwind-tilegx,rantala/libunwind,rntz/libunwind,DroidSim/platform_external_libunwind,mpercy/libunwind,igprof/libunwind,frida/libunwind,project-zerus/libunwind,atanasyan/libunwind-android,frida/libunwind,tony/libunwind,dreal-deps/libunwind,fdoray/libunwind,zliu2014/libunwind-tilegx,geekboxzone/lollipop_external_libunwind,SyndicateRogue/libunwind,djwatson/libunwind,unkadoug/libunwind,maltek/platform_external_libunwind,zeldin/platform_external_libunwind,SyndicateRogue/libunwind,CyanogenMod/android_external_libunwind,atanasyan/libunwind,androidarmv6/android_external_libunwind,libunwind/libunwind,android-ia/platform_external_libunwind,dropbox/libunwind,pathscale/libunwind,vegard/libunwind,evaautomation/libunwind,dagar/libunwind,tony/libunwind,joyent/libunwind,joyent/libunwind,rogwfu/libunwind,tkelman/libunwind,evaautomation/libunwind,rntz/libunwind,atanasyan/libunwind-android,dreal-deps/libunwind,geekboxzone/mmallow_external_libunwind,androidarmv6/android_external_libunwind,vtjnash/libunwind,tronical/libunwind,atanasyan/libunwind,martyone/libunwind,android-ia/platform_external_libunwind,DroidSim/platform_external_libunwind,krytarowski/libunwind