[Initng-svn] r4008 - initng/trunk/src
svn at initng.thinktux.net
svn at initng.thinktux.net
Thu May 4 10:45:11 CEST 2006
Author: jimmy
Date: Thu May 4 10:45:10 2006
New Revision: 4008
Modified:
initng/trunk/src/initng_depend.c
Log:
really free fixed_variable.
Modified: initng/trunk/src/initng_depend.c
==============================================================================
--- initng/trunk/src/initng_depend.c (original)
+++ initng/trunk/src/initng_depend.c Thu May 4 10:45:10 2006
@@ -165,7 +165,10 @@
{
str = fix_variables( string, service);
if (strcmp(string, check->name) == 0)
+ {
+ fix_free(str, string);
return (TRUE);
+ }
fix_free( str, string);
}
current = NULL;
@@ -173,7 +176,10 @@
{
str = fix_variables( string, service);
if (strcmp(str, check->name) == 0)
+ {
+ fix_free(str, string);
return (TRUE);
+ }
fix_free( str, string);
}
current = NULL;
@@ -181,7 +187,10 @@
{
str = fix_variables( string, service);
if (strcmp(string, check->name) == 0)
+ {
+ fix_free(str, string);
return (TRUE);
+ }
fix_free( str, string);
}
return (FALSE);
@@ -470,6 +479,7 @@
if (IS_DOWN(dep))
initng_handler_start_service(dep);
D_("No need to LOAD %s, it is already loaded!\n", str);
+ fix_free( str, tmp);
continue;
}
@@ -480,6 +490,7 @@
F_("%s required dep \"%s\" could not start!\n", service->name,
str);
initng_handler_stop_service(service);
+ fix_free( str, tmp);
return (FALSE);
}
@@ -497,6 +508,7 @@
if (IS_DOWN(dep))
initng_handler_start_service(dep);
D_("No need to LOAD %s, it is already loaded!\n", str);
+ fix_free( str, tmp);
continue;
}
More information about the Initng-svn
mailing list