Skip to content

Commit f828137

Browse files
authored
Fix memory leak (#160)
1 parent a7c5e2f commit f828137

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gridtypes/ParaviewCollection.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ function paraview_collection_load(filename::AbstractString)
5656
set_attribute(xDataSet, "part", attribute(c, "part"))
5757
set_attribute(xDataSet, "file", attribute(c, "file"))
5858
end
59+
LightXML.free(xpvd)
5960
return pvd
6061
end
6162

0 commit comments

Comments
 (0)