diff options
author | Simo Sorce <simo@redhat.com> | 2012-11-14 13:01:15 +0000 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-11-28 13:36:12 +0100 |
commit | df24b52d8b809ab47f89221bed247e13281ca20a (patch) | |
tree | 7bfd4069edb645a7f9dcdc0e3a09c782cc5b0779 /src/responder/sudo/sudosrv_query.c | |
parent | 701012f04b239793e56b8b0540531b61a6873277 (diff) | |
download | sssd-df24b52d8b809ab47f89221bed247e13281ca20a.tar.gz sssd-df24b52d8b809ab47f89221bed247e13281ca20a.tar.bz2 sssd-df24b52d8b809ab47f89221bed247e13281ca20a.zip |
Avoid const warnings when deallocating memory
In some case we allocate and assign data to a const pointer.
When we then try to free it we would get a const warning because talloc_free
accepts a void, not a const void pointer. Use discard_const to avoid the
warning, it is safe in this case.
Diffstat (limited to 'src/responder/sudo/sudosrv_query.c')
0 files changed, 0 insertions, 0 deletions