]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Use talloc_get_type_abort_const
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 6 Nov 2019 23:27:38 +0000 (17:27 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 6 Nov 2019 23:27:50 +0000 (17:27 -0600)
src/lib/util/dl.c

index b0269b9ade080de5b0b999b7e070b01330774d74..70e257c9532e403353aca883cf06429d750f0b74 100644 (file)
@@ -613,7 +613,7 @@ int dl_free(dl_t const *dl)
 {
        if (!dl) return 0;
 
-       return talloc_decrease_ref_count(talloc_get_type_abort(dl, dl_t));
+       return talloc_decrease_ref_count(talloc_get_type_abort_const(dl, dl_t));
 }
 
 #ifndef NDEBUG