Skip to content
Snippets Groups Projects

FIX: replaced temp internalField with DimensionedField::null (fixes #3082)

Merged Vaggelis Papoutsis requested to merge fix-createZeroBoundaryPtr into develop

GeometricField::Boundary allocated using createZeroBoudnaryPtr held a dangling reference to a temporary object (see also #3082 (closed)).

This dangling reference was never accessed, so it didn't cause any wrong memory access. It did however increase the peak memory consumption.

Replaced the temporary object with DimensionedField<Type, volMesh>::null

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply