Update of /cvsroot/perfparse/_perfparse/libpp_common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1160/libpp_common
Modified Files:
config_file.c
Log Message:
fixed some small memleaks and logging
Index: config_file.c
===================================================================
RCS file: /cvsroot/perfparse/_perfparse/libpp_common/config_file.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** config_file.c 9 Dec 2007 20:40:40 -0000 1.5
--- config_file.c 14 Dec 2007 21:42:17 -0000 1.6
***************
*** 54,57 ****
--- 54,58 ----
char *my_gethostname(void)
{
+ pp_log(__FILE__,__LINE__,LOG_DEBUG_FUNCTION,_("my_gethostname() called\n"));
char *s=NULL;
#if defined (OS_SOLARIS)
***************
*** 246,249 ****
--- 247,251 ----
fclose(f);
regfree(pattern);
+ free(pattern);
}
|