X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/81c57383273bb818858b2d7e6fdb4bbdb5df70d7..ca3143890523c6d3092f0e7c3f9aceffa698dbd9:/sbr/icalparse.y?ds=sidebyside diff --git a/sbr/icalparse.y b/sbr/icalparse.y index 972ff983..7730726f 100644 --- a/sbr/icalparse.y +++ b/sbr/icalparse.y @@ -1,5 +1,4 @@ -/* - * icalparse.y -- icalendar (RFC 5545) parser +/* icalparse.y -- icalendar (RFC 5545) parser * * This code is Copyright (c) 2014, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -149,7 +148,7 @@ add_contentline (contentline *node, const char *name) { contentline *new_node; NEW0(new_node); - new_node->name = strdup (name); + new_node->name = mh_xstrdup (name); new_node->next = node->next; node->next = new_node;