1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 05_fix_call_to_free.dpatch by <boll@tristram.fork.dk>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: No description.
7 @DPATCH@
8 diff -urNad --exclude=CVS --exclude=.svn ./src/prepstdreply.c /tmp/dpep-work.Lj9E7s/mlmmj-1.2.8/src/prepstdreply.c
9 --- ./src/prepstdreply.c 2005-01-15 11:46:24.000000000 +0100
10 +++ /tmp/dpep-work.Lj9E7s/mlmmj-1.2.8/src/prepstdreply.c 2005-09-12 20:05:45.000000000 +0200
11 @@ -181,7 +181,7 @@
12 if(replyto) {
13 myreplyto = substitute(replyto, listaddr, tokencount, data);
14 tmp = concatstr(3, "Reply-To: ", myreplyto, "\n");
15 - free(myreplyto);
16 + myfree(myreplyto);
17 myreplyto = tmp;
18 } else
19 myreplyto = NULL;