Allocated non-zero fvPatchField - caused memory leak since pointer redirected

This commit is contained in:
mattijs
2009-12-17 15:54:08 +00:00
parent e325814c80
commit b2b242a858

View File

@ -55,7 +55,7 @@ slicedFvPatchField<Type>::slicedFvPatchField
const DimensionedField<Type, volMesh>& iF
)
:
fvPatchField<Type>(p, iF)
fvPatchField<Type>(p, iF, Field<Type>())
{}