Fix memory leak in limelight-common