Fix leak while enumerating RADIUS Framed-IPs from IKE_SA
authorMartin Willi <martin@revosec.ch>
Tue, 11 Sep 2012 13:20:33 +0000 (15:20 +0200)
committerMartin Willi <martin@revosec.ch>
Tue, 11 Sep 2012 13:22:22 +0000 (15:22 +0200)
src/libcharon/plugins/eap_radius/eap_radius_accounting.c

index 7690cf9..33449d5 100644 (file)
@@ -178,6 +178,7 @@ static void add_ike_sa_parameters(radius_message_t *message, ike_sa_t *ike_sa)
                                break;
                }
        }
+       enumerator->destroy(enumerator);
 }
 
 /**