diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-09-07 21:57:06 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-09-07 21:57:06 +0200 |
commit | 6592036689c38566acbafc178e1f22098279263f (patch) | |
tree | 19bb139462c5f264c0b35849fc4510b4db8550f3 /nslcd/alias.c | |
parent | 713ea31d96c92e666f9722e5a81836242d1048c3 (diff) |
properly initialize all contexts
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@381 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/alias.c')
-rw-r--r-- | nslcd/alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/alias.c b/nslcd/alias.c index 612cd1b..a1bb482 100644 --- a/nslcd/alias.c +++ b/nslcd/alias.c @@ -141,7 +141,7 @@ int nslcd_alias_byname(TFILE *fp) int nslcd_alias_all(TFILE *fp) { int32_t tmpint32,tmp2int32; - struct ent_context *alias_context; + struct ent_context *alias_context=NULL; char filter[1024]; /* these are here for now until we rewrite the LDAP code */ struct aliasent result; |