free device_name in destroy()
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 7 Aug 2011 22:19:08 +0000 (00:19 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 10 Aug 2011 07:29:34 +0000 (09:29 +0200)
src/libcharon/plugins/tnc_ifmap/tnc_ifmap_listener.c

index 6e4657b..3bee076 100644 (file)
@@ -466,7 +466,8 @@ METHOD(tnc_ifmap_listener_t, destroy, void,
                        DBG1(DBG_TNC, "endSession with MAP server failed");
                }
                free(this->session_id);
-               free(this->ifmap_publisher_id); 
+               free(this->ifmap_publisher_id);
+               free(this->device_name);        
        }
        if (this->svc_client)
        {