free ((char *) runp->string);
internal_addseverity (int severity, const char *string){  struct severity_info *runp, *lastp;  int result = MM_OK;  /* First see if there is already a record for the severity level.  */  for (runp = severity_list, lastp = NULL; runp != NULL; runp = runp-> next)    if (runp->severity == severity)      break;    else      lastp = runp;  if (runp != NULL)    {      /* Release old string.  */      free ((char *) runp->string);      if (string != NULL)	/* Change the string.  */	runp->string = string;      else	{	  /* Remove the severity class.  */	  if (lastp == NULL)	    severity_list = runp->next;	  else	    lastp->next = runp->next;	  free (runp);	}    }  else if (string != NULL)    {      runp = malloc (sizeof (*runp));      if (runp == NULL)	result = MM_NOTOK;      else	{	  runp->severity = severity;	  runp->next = severity_list;	  runp->string = string;	  severity_list = runp;	}    }  else    /* We tried to remove a non-existing severity class.  */    result = MM_NOTOK;  return result;}