[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r4099 - trunk/OpenDNSSEC/signer/src/signer

Matthijs Mekking matthijs at nlnetlabs.nl
Wed Oct 13 16:45:41 CEST 2010


Author: matthijs
Date: 2010-10-13 16:45:41 +0200 (Wed, 13 Oct 2010)
New Revision: 4099

Modified:
   trunk/OpenDNSSEC/signer/src/signer/tools.c
Log:
unlink .inbound file if update succesfull
fix two memleaks



Modified: trunk/OpenDNSSEC/signer/src/signer/tools.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/signer/tools.c	2010-10-13 14:40:53 UTC (rev 4098)
+++ trunk/OpenDNSSEC/signer/src/signer/tools.c	2010-10-13 14:45:41 UTC (rev 4099)
@@ -141,7 +141,10 @@
         if (!error) {
             zone_backup_state(zone);
             zone->stats->sort_done = 1;
+            unlink(inbound);
         }
+        se_free((void*)inbound);
+        se_free((void*)unsorted);
     }
     return error;
 }




More information about the Opendnssec-commits mailing list