From 6592036689c38566acbafc178e1f22098279263f Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 7 Sep 2007 19:57:06 +0000 Subject: properly initialize all contexts git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@381 ef36b2f9-881f-0410-afb5-c4e39611909c --- nslcd/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nslcd/protocol.c') diff --git a/nslcd/protocol.c b/nslcd/protocol.c index 4ec646f..4300dd3 100644 --- a/nslcd/protocol.c +++ b/nslcd/protocol.c @@ -207,7 +207,7 @@ int nslcd_protocol_bynumber(TFILE *fp) int nslcd_protocol_all(TFILE *fp) { int32_t tmpint32,tmp2int32,tmp3int32; - struct ent_context *protocol_context; + struct ent_context *protocol_context=NULL; char filter[1024]; /* these are here for now until we rewrite the LDAP code */ struct protoent result; -- cgit v1.2.3