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

Rickard Bellgrim rickard.bellgrim at iis.se
Mon Nov 1 15:35:12 CET 2010


Author: rb
Date: 2010-11-01 15:35:12 +0100 (Mon, 01 Nov 2010)
New Revision: 4157

Modified:
   trunk/OpenDNSSEC/enforcer/enforcerd/enforcer.c
Log:
free


Modified: trunk/OpenDNSSEC/enforcer/enforcerd/enforcer.c
===================================================================
--- trunk/OpenDNSSEC/enforcer/enforcerd/enforcer.c	2010-11-01 14:25:25 UTC (rev 4156)
+++ trunk/OpenDNSSEC/enforcer/enforcerd/enforcer.c	2010-11-01 14:35:12 UTC (rev 4157)
@@ -360,10 +360,12 @@
         /* make sure that we have at least one zone */ 
         if (zone_count == 0) { 
             log_msg(config, LOG_INFO, "No zones on policy %s, skipping...", policy->name);
+            StrFree(rightnow);
             return status; 
         } 
     } else {
         log_msg(NULL, LOG_ERR, "Could not count zones on policy %s", policy->name);
+        StrFree(rightnow);
         return status; 
     }
 




More information about the Opendnssec-commits mailing list