Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
e6ff562a
Unverified
Commit
e6ff562a
authored
May 21, 2020
by
Rémi Verschelde
Committed by
GitHub
May 21, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #38907 from cj-dimaggio/rasterizer_dummy_leak
Delete DummyMesh when RasterizerStorageDummy is Freed
parents
0b8cb945
66a294d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
rasterizer_dummy.h
drivers/dummy/rasterizer_dummy.h
+7
-0
No files found.
drivers/dummy/rasterizer_dummy.h
View file @
e6ff562a
...
@@ -861,6 +861,13 @@ public:
...
@@ -861,6 +861,13 @@ public:
texture_owner
.
free
(
p_rid
);
texture_owner
.
free
(
p_rid
);
memdelete
(
texture
);
memdelete
(
texture
);
}
}
if
(
mesh_owner
.
owns
(
p_rid
))
{
// delete the mesh
DummyMesh
*
mesh
=
mesh_owner
.
getornull
(
p_rid
);
mesh_owner
.
free
(
p_rid
);
memdelete
(
mesh
);
}
return
true
;
return
true
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment