libpftimers: auto-free timer memory