Remove read after free