Fix browser launch params variable assignment before freeing memory