[1899] in Moira Commits

home help back first fref pref prev next nref lref last post

/svn/moira r4038 - trunk/moira/clients/moira

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Sun May 8 21:14:06 2011

Date: Sun, 8 May 2011 21:13:59 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>
Message-Id: <201105090113.p491DxWN022392@drugstore.mit.edu>
To: moira-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: zacheiss
Date: 2011-05-08 21:13:59 -0400 (Sun, 08 May 2011)
New Revision: 4038

Modified:
   trunk/moira/clients/moira/pobox.c
Log:
Fix incorrect free() in the EXCHANGE pobox case.

Modified: trunk/moira/clients/moira/pobox.c
===================================================================
--- trunk/moira/clients/moira/pobox.c	2011-04-21 16:18:33 UTC (rev 4037)
+++ trunk/moira/clients/moira/pobox.c	2011-05-09 01:13:59 UTC (rev 4038)
@@ -480,7 +480,7 @@
 	    {
 	      free(type);
 	      type = "EXCHANGE";
-	      box = "EXCHANGE.MIT.EDU";
+	      box = strdup("EXCHANGE.MIT.EDU");
 	    }
 	  else
 	    {


home help back first fref pref prev next nref lref last post