Index: /LMDZ6/trunk/libf/phylmd/physiq_mod.F90
===================================================================
--- /LMDZ6/trunk/libf/phylmd/physiq_mod.F90	(revision 6122)
+++ /LMDZ6/trunk/libf/phylmd/physiq_mod.F90	(revision 6123)
@@ -5397,13 +5397,6 @@
        !         close(97)
 
-       IF (is_omp_master) THEN
-
-          IF (read_climoz >= 1) THEN
-             IF (is_mpi_root) CALL nf95_close(ncid_climoz)
-             DEALLOCATE(press_edg_climoz)
-             DEALLOCATE(press_cen_climoz)
-          ENDIF
-
-       ENDIF
+       IF (is_omp_master .and. read_climoz >= 1 .and. is_mpi_root) &
+            CALL nf95_close(ncid_climoz)
 
        IF (using_xios) THEN
