Kernel: add missing free for dyn_arguments
Program: add missing free for llvm_irs
kernel: add missing free of arguments in dyn_arguments
Missing variable declarations.