[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r4155 - trunk/OpenDNSSEC/enforcer/enforcerd

Rickard Bellgrim rickard.bellgrim at iis.se
Mon Nov 1 15:19:51 CET 2010


Author: rb
Date: 2010-11-01 15:19:51 +0100 (Mon, 01 Nov 2010)
New Revision: 4155

Modified:
   trunk/OpenDNSSEC/enforcer/enforcerd/enforcer.c
Log:
free it in all cases


Modified: trunk/OpenDNSSEC/enforcer/enforcerd/enforcer.c
===================================================================
--- trunk/OpenDNSSEC/enforcer/enforcerd/enforcer.c	2010-11-01 14:01:38 UTC (rev 4154)
+++ trunk/OpenDNSSEC/enforcer/enforcerd/enforcer.c	2010-11-01 14:19:51 UTC (rev 4155)
@@ -773,10 +773,10 @@
                             if (roll_time <= config->rolloverNotify) {
                                 log_msg(config, LOG_INFO, "Rollover of KSK expected at %s for %s", ksk_expected, zone_name);
                             }
-                            StrFree(datetime);
                             StrFree(ksk_expected);
                         }
                     }
+                    StrFree(datetime);
                 }
 
                 StrFree(current_filename);




More information about the Opendnssec-commits mailing list