-fix leak

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

git-svn-id: https://gnunet.org/svn/gnunet@30952 140774ce-b5e7-0310-ab8b-a85725594a96
-check return value

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

git-svn-id: https://gnunet.org/svn/gnunet@30954 140774ce-b5e7-0310-ab8b-a85725594a96
-adding missing close

git-svn-id: https://gnunet.org/svn/gnunet@30955 140774ce-b5e7-0310-ab8b-a85725594a96
-fix memory leak

git-svn-id: https://gnunet.org/svn/gnunet@30956 140774ce-b5e7-0310-ab8b-a85725594a96
-check return value

git-svn-id: https://gnunet.org/svn/gnunet@30957 140774ce-b5e7-0310-ab8b-a85725594a96
-fix left-over confusion between hash code and peer identity size from recent peer identity format change

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