5455da4f944145239295a2d8344f1a7602b4454d |
|
11-Nov-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Fix memory leak in switch_creds
If we are already requested used then we needn't to call
setreeuid(), setresgid(). But we forgot to relase local
struct sss_creds *ssc, which is used for returnig saved credentials.
Reviewed-by: Petr Cech <pcech@redhat.com> |