fix segfault
This patch provides a memory-safe alternative to the changes introduced in commit 418adfde, which causes a segfault when the "batch mode" flag is required (i.e., for ascii/graphic export). Note: the program name (i.e., argv[0]) has been added the list arguments passed to ROOT's TApplication. This ensures that the TApplication name matches that of the program (see https://github.com/root-project/root/blob/542b98b2ccca760fd83117b750b89d81b8e9b926/core/base/src/TApplication.cxx#L179-L180).
Loading
Please register or sign in to comment