fix: data leak in case of error in yr_process_get_memory
Merge pull request #209 from pozdnychev/master

fix: data leak in case of error in yr_process_get_memory