search for: binglobalsect

Displaying 1 result from an estimated 1 matches for "binglobalsect".

2001 Dec 28
1
(patch) memory leak in loadparm.c
...08,7 +108,8 @@ /* - * This structure describes a single service. + * This structure describes a single service. If you update this, be + * sure to update init_globals below! */ typedef struct { @@ -179,6 +180,7 @@ static int iNumServices = 0; static int iServiceIndex = 0; static BOOL bInGlobalSection = True; +static BOOL bsDefaultInitialized = False; #define NUMPARAMETERS (sizeof(parm_table) / sizeof(struct parm_struct)) @@ -297,6 +299,28 @@ #ifdef LOG_DAEMON Globals.syslog_facility = LOG_DAEMON; #endif + if (!bsDefaultInitialized) { + bsDefaultInitialized = True; +#define maybe...