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

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


Author: rb
Date: 2010-11-01 14:35:14 +0100 (Mon, 01 Nov 2010)
New Revision: 4151

Modified:
   trunk/OpenDNSSEC/enforcer/enforcerd/enforcer.c
Log:
Fix memory leak


Modified: trunk/OpenDNSSEC/enforcer/enforcerd/enforcer.c
===================================================================
--- trunk/OpenDNSSEC/enforcer/enforcerd/enforcer.c	2010-11-01 11:55:30 UTC (rev 4150)
+++ trunk/OpenDNSSEC/enforcer/enforcerd/enforcer.c	2010-11-01 13:35:14 UTC (rev 4151)
@@ -1715,6 +1715,7 @@
             dnskey_rr = hsm_get_dnskey(NULL, key, sign_params);
 
             temp_char = ldns_rr2str(dnskey_rr);
+            ldns_rr_free(dnskey_rr);
 
             log_msg(NULL, LOG_INFO, "%s", temp_char);
 




More information about the Opendnssec-commits mailing list