=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/tags.c,v retrieving revision 1.13 retrieving revision 1.14 diff -c -r1.13 -r1.14 *** src/usr.bin/less/tags.c 2015/11/06 15:50:33 1.13 --- src/usr.bin/less/tags.c 2015/11/07 18:07:44 1.14 *************** *** 112,124 **** struct tag *tp; tp = ecalloc(sizeof (struct tag), 1); ! tp->tag_file = save(file); tp->tag_linenum = linenum; tp->tag_endline = endline; if (pattern == NULL) tp->tag_pattern = NULL; else ! tp->tag_pattern = save(pattern); return (tp); } --- 112,124 ---- struct tag *tp; tp = ecalloc(sizeof (struct tag), 1); ! tp->tag_file = estrdup(file); tp->tag_linenum = linenum; tp->tag_endline = endline; if (pattern == NULL) tp->tag_pattern = NULL; else ! tp->tag_pattern = estrdup(pattern); return (tp); }