kernel - lwkt_token code, minor fix to last commit
[dragonfly.git] / usr.sbin / sendmail / main.c.patch
blobfe00b82d0c094c5928bad5fb0a0d95bfa1cb30ec
1 $DragonFly: src/usr.sbin/sendmail/main.c.patch,v 1.1 2008/02/18 19:47:32 dillon Exp $
3 Index: main.c
4 ===================================================================
5 RCS file: /cvs/src/contrib/sendmail-8.14/sendmail/main.c,v
6 retrieving revision 1.1.1.2
7 diff -u -p -r1.1.1.2 main.c
8 --- main.c 5 Nov 2007 01:37:45 -0000 1.1.1.2
9 +++ main.c 18 Feb 2008 19:30:27 -0000
10 @@ -2543,9 +2543,12 @@ NULL), &forged);
11 macdefine(&BlankEnvelope.e_macro, A_TEMP, '_', authinfo);
13 /* at this point we are in a child: reset state */
14 - sm_rpool_free(MainEnvelope.e_rpool);
15 - (void) newenvelope(&MainEnvelope, &MainEnvelope,
16 - sm_rpool_new_x(NULL));
17 + {
18 + SM_RPOOL_T *opool = MainEnvelope.e_rpool;
19 + (void) newenvelope(&MainEnvelope, &MainEnvelope,
20 + sm_rpool_new_x(NULL));
21 + sm_rpool_free(opool);
22 + }
25 if (LogLevel > 9)