-fixing leaks on error paths

git-svn-id: https://gnunet.org/svn/gnunet@31390 140774ce-b5e7-0310-ab8b-a85725594a96
-fix use of uninitialized variable

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