formdata: Fixed memory leak on OOM condition