fixed valgrind call
fixed locations in generated sources
allocated PifConfig on the stack
fixed memory leaks
typo