Fix glob memory leak in GSS initialization In loadConfigFiles, call globfree even if glob fails, since glob can allocate memory and report partial results on failure. Also initialize globbuf before calling glob; this is not strictly required, but hedges against hypothetical libc implementation bugs which could leave globbuf.gl_pathc or globbuf.gl_pathv uninitialized on error. https://github.com/krb5/krb5/commit/20f91672568b1d2e341a9bb0dba88a831f152f1c Author: Greg Hudson Commit: 20f91672568b1d2e341a9bb0dba88a831f152f1c Branch: master src/lib/gssapi/mechglue/g_initialize.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)