Fixed malloc bug in lrlib_paramarr_delete