projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6891e67
)
Memory leak in _kadm5_init_any introduced with ipropd
author
Ezra Peisach
<epeisach@mit.edu>
Sat, 21 Nov 2009 04:50:55 +0000
(
04:50
+0000)
committer
Ezra Peisach
<epeisach@mit.edu>
Sat, 21 Nov 2009 04:50:55 +0000
(
04:50
+0000)
Fix minor memory leak introduced by the ipropd integration.
ticket: 6582
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23296
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/kadm5/clnt/client_init.c
patch
|
blob
|
history
diff --git
a/src/lib/kadm5/clnt/client_init.c
b/src/lib/kadm5/clnt/client_init.c
index 99e8e15ba35e36f17786322e8efeca0c3f438d07..82e417159e01a1677aea11d04b0ecec9776aaec3 100644
(file)
--- a/
src/lib/kadm5/clnt/client_init.c
+++ b/
src/lib/kadm5/clnt/client_init.c
@@
-308,6
+308,8
@@
static kadm5_ret_t _kadm5_init_any(krb5_context context, char *client_name,
else
iprop_enable = 0;
+ free(iprop_svc);
+
memset(&addr, 0, sizeof(addr));
addr.sin_family = hp->h_addrtype;
(void) memcpy(&addr.sin_addr, hp->h_addr, sizeof(addr.sin_addr));