aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fs/fs_uri.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c
index dff94ee26..2d5566b54 100644
--- a/src/fs/fs_uri.c
+++ b/src/fs/fs_uri.c
@@ -659,20 +659,16 @@ GNUNET_FS_uri_parse (const char *uri, char **emsg)
659 msg = NULL; 659 msg = NULL;
660 if (NULL != (ret = uri_chk_parse (uri, &msg))) 660 if (NULL != (ret = uri_chk_parse (uri, &msg)))
661 return ret; 661 return ret;
662 if (NULL != msg) 662 GNUNET_free (msg);
663 GNUNET_free (msg);
664 if (NULL != (ret = uri_ksk_parse (uri, &msg))) 663 if (NULL != (ret = uri_ksk_parse (uri, &msg)))
665 return ret; 664 return ret;
666 if (NULL != msg) 665 GNUNET_free (msg);
667 GNUNET_free (msg);
668 if (NULL != (ret = uri_sks_parse (uri, &msg))) 666 if (NULL != (ret = uri_sks_parse (uri, &msg)))
669 return ret; 667 return ret;
670 if (NULL != msg) 668 GNUNET_free (msg);
671 GNUNET_free (msg);
672 if (NULL != (ret = uri_loc_parse (uri, &msg))) 669 if (NULL != (ret = uri_loc_parse (uri, &msg)))
673 return ret; 670 return ret;
674 if (NULL != msg) 671 GNUNET_free (msg);
675 GNUNET_free (msg);
676 if (NULL != emsg) 672 if (NULL != emsg)
677 *emsg = GNUNET_strdup (_ ("Unrecognized URI type")); 673 *emsg = GNUNET_strdup (_ ("Unrecognized URI type"));
678 return NULL; 674 return NULL;