Commented out the 'free_multi' function. It uses a bad varargs

mechanism that is not guaranteed to work correctly.
This commit is contained in:
falgout 2000-12-13 16:22:26 +00:00
parent 62fde1b889
commit e3eba773f1
2 changed files with 6 additions and 2 deletions

View File

@ -155,6 +155,7 @@ void *hypre_mymalloc(int nbytes, char *msg)
/*************************************************************************
* This function is my wrapper around free, allows multiple pointers
**************************************************************************/
#if 0
void hypre_free_multi(void *ptr1,...)
{
va_list plist;
@ -174,7 +175,8 @@ void hypre_free_multi(void *ptr1,...)
va_end(plist);
}
}
#endif
/*************************************************************************
* The following function copies an int (int) array

View File

@ -155,6 +155,7 @@ void *hypre_mymalloc(int nbytes, char *msg)
/*************************************************************************
* This function is my wrapper around free, allows multiple pointers
**************************************************************************/
#if 0
void hypre_free_multi(void *ptr1,...)
{
va_list plist;
@ -174,7 +175,8 @@ void hypre_free_multi(void *ptr1,...)
va_end(plist);
}
}
#endif
/*************************************************************************
* The following function copies an int (int) array