- fix use after free cases


git-svn-id: https://gnunet.org/svn/gnunet@31632 140774ce-b5e7-0310-ab8b-a85725594a96
- fix bad log


git-svn-id: https://gnunet.org/svn/gnunet@31633 140774ce-b5e7-0310-ab8b-a85725594a96