• Simon Marlow's avatar
    Fix a double-free bug in -fexternal-interpreter · 23404857
    Simon Marlow authored
    Originally I planned to make this reference manually managed, but it
    looks like at some point I gave it a finalizer on the GHC side, but
    forgot to remove the manual free here.  The result is that ghc-iserv
    could crash in getStablePtr sometimes when using TH.
TH.hs 5.37 KB