cburstedde / p4est

The "p4est" forest-of-octrees library
www.p4est.org/
GNU General Public License v2.0
260 stars 115 forks source link

Fix file cleanup #290

Closed tim-griesbach closed 8 months ago

tim-griesbach commented 8 months ago

Fix file cleanup

Proposed changes: Fix the check for file being NULL in the function p4est_file_error_cleanup to prevent accessing NULL in the case of handling a failed call of the open function. In addition, a check abort message is updated.

cburstedde commented 8 months ago

Thanks!