Skip to content

Commit 55821cb

Browse files
authored
Fix memory leak issue (#35)
1 parent 4b14600 commit 55821cb

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

flutter/shell/platform/tizen/external_texture_surface_egl.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ ExternalTextureSurfaceEGL::~ExternalTextureSurfaceEGL() {
3838
if (state_->gl_texture != 0) {
3939
glDeleteTextures(1, static_cast<GLuint*>(&state_->gl_texture));
4040
}
41-
state_.release();
4241
}
4342

4443
bool ExternalTextureSurfaceEGL::PopulateTexture(

flutter/shell/platform/tizen/external_texture_surface_evas_gl.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ ExternalTextureSurfaceEvasGL::~ExternalTextureSurfaceEvasGL() {
2626
if (state_->gl_texture != 0) {
2727
glDeleteTextures(1, static_cast<GLuint*>(&state_->gl_texture));
2828
}
29-
state_.release();
3029
}
3130

3231
bool ExternalTextureSurfaceEvasGL::PopulateTexture(

0 commit comments

Comments
 (0)