erl_interface: Fix double free bugs
erl_interface: Fix double free bugs

introduced on master by
eba460e73540d3e4efab1cfb2c739e215021f03c

uabboli/otp,emacsmirror/erlang,isvilen/otp,rlipscombe/otp,g-andrade/otp,isvilen/otp,emacsmirror/erlang,g-andrade/otp,ferd/otp,getong/otp,dumbbell/otp,potatosalad/otp,dumbbell/otp,erlang/otp,potatosalad/otp,g-andrade/otp,bjorng/otp,dgud/otp,uabboli/otp,g-andrade/otp,erlang/otp,rlipscombe/otp,mikpe/otp,isvilen/otp,dumbbell/otp,g-andrade/otp,isvilen/otp,dumbbell/otp,dgud/otp,getong/otp,potatosalad/otp,erlang/otp,ferd/otp,getong/otp,isvilen/otp,emacsmirror/erlang,bjorng/otp,emacsmirror/erlang,dgud/otp,bjorng/otp,dumbbell/otp,isvilen/otp,jj1bdx/otp,erlang/otp,uabboli/otp,erlang/otp,dumbbell/otp,ferd/otp,uabboli/otp,getong/otp,potatosalad/otp,uabboli/otp,bjorng/otp,potatosalad/otp,erlang/otp,rlipscombe/otp,bjorng/otp,emacsmirror/erlang,ferd/otp,g-andrade/otp,ferd/otp,emacsmirror/erlang,bjorng/otp,vinoski/otp,uabboli/otp,potatosalad/otp,g-andrade/otp,jj1bdx/otp,jj1bdx/otp,ferd/otp,isvilen/otp,vinoski/otp,bjorng/otp,jj1bdx/otp,emacsmirror/erlang,potatosalad/otp,g-andrade/otp,getong/otp,erlang/otp,g-andrade/otp,isvilen/otp,mikpe/otp,rlipscombe/otp,dgud/otp,mikpe/otp,dumbbell/otp,vinoski/otp,rlipscombe/otp,isvilen/otp,dgud/otp,mikpe/otp,dgud/otp,vinoski/otp,jj1bdx/otp,g-andrade/otp,vinoski/otp,jj1bdx/otp,emacsmirror/erlang,vinoski/otp,vinoski/otp,ferd/otp,dumbbell/otp,dumbbell/otp,mikpe/otp,rlipscombe/otp,emacsmirror/erlang,vinoski/otp,uabboli/otp,vinoski/otp,vinoski/otp,uabboli/otp,ferd/otp,mikpe/otp,bjorng/otp,mikpe/otp,bjorng/otp,rlipscombe/otp,emacsmirror/erlang,potatosalad/otp,rlipscombe/otp,getong/otp,jj1bdx/otp,getong/otp,potatosalad/otp,dgud/otp,dgud/otp,isvilen/otp,ferd/otp,potatosalad/otp,getong/otp,erlang/otp,rlipscombe/otp,jj1bdx/otp,dgud/otp,mikpe/otp,dumbbell/otp,mikpe/otp,uabboli/otp,erlang/otp,jj1bdx/otp,bjorng/otp,jj1bdx/otp,rlipscombe/otp,mikpe/otp,dgud/otp,getong/otp,getong/otp,erlang/otp