Skip to content

Commit 6fdfb75

Browse files
committed
Clear local pp_array before exit
1 parent e32a746 commit 6fdfb75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcstas-comps/examples/Prototypes/ODIN_TOF_train4/Monitor_nD.comp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ TRACE
626626
SCATTER;
627627
}
628628
}
629-
629+
if(pp_array) free(pp_array);
630630

631631
/*set weight to undetected part if capture and/or he3_pressure*/
632632
if (Vars.He3_pressure > 0) {

0 commit comments

Comments
 (0)