]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
return allocated ptr
authorAlan T. DeKok <aland@freeradius.org>
Sat, 30 Mar 2024 14:48:06 +0000 (10:48 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 30 Mar 2024 22:13:44 +0000 (18:13 -0400)
src/protocols/radius/id.c

index 9d6839982e0c07bfa162e5d118185b02f3a7df55..6e38b3f1c20c7dcea3fd6294a3548b755717453a 100644 (file)
@@ -58,7 +58,7 @@ fr_radius_id_t *fr_radius_id_alloc(TALLOC_CTX *ctx)
                track->free_ids[i] = i;
        }
 
-       return 0;
+       return track;
 }
 
 /** Allocate an ID for a packet, using LRU