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/rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nslcd/rpc.c') diff --git a/nslcd/rpc.c b/nslcd/rpc.c index 51ec6c9..9cc5609 100644 --- a/nslcd/rpc.c +++ b/nslcd/rpc.c @@ -212,7 +212,7 @@ int nslcd_rpc_bynumber(TFILE *fp) int nslcd_rpc_all(TFILE *fp) { int32_t tmpint32; - struct ent_context *rpc_context; + struct ent_context *rpc_context=NULL; char filter[1024]; /* these are here for now until we rewrite the LDAP code */ struct rpcent result; -- cgit v1.2.3