mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Allocated non-zero fvPatchField - caused memory leak since pointer redirected
This commit is contained in:
@ -55,7 +55,7 @@ slicedFvPatchField<Type>::slicedFvPatchField
|
||||
const DimensionedField<Type, volMesh>& iF
|
||||
)
|
||||
:
|
||||
fvPatchField<Type>(p, iF)
|
||||
fvPatchField<Type>(p, iF, Field<Type>())
|
||||
{}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user