Merge branch 'merge-luke' into libradsec
[radsecproxy.git] / lib / packet.c
index 7872a5a..cdd094a 100644 (file)
@@ -203,7 +203,7 @@ _read_cb (struct bufferevent *bev, void *ctx)
          return;
        }
 
-      /* decode and decrypt */
+      /* Decode and decrypt.  */
       if (rad_decode (pkt->rpkt, pkt->original->rpkt,
                      pkt->conn->active_peer->secret))
        {
@@ -486,6 +486,7 @@ rs_packet_destroy(struct rs_packet *pkt)
 {
   if (pkt)
     {
+      // TODO: free all attributes
       rad_free (&pkt->rpkt);
       rs_free (pkt->conn->ctx, pkt);
     }