Avoid references to disassociated POINTERs in examples

Handle the expected disassociated pointers so that NAG with -C=pointer does not rightfully complain. Also, update the respective CI jobs to build with the -C=all flag.

Merge request reports

Loading