char *helpURL = new char[strlen(java_sec_help_url) + strlen(tag) + 1];
char *helpURL = (char *)XP_ALLOC(strlen(java_sec_help_url) + strlen(tag) + 1);
char * JavaSecUI_getHelpURL(int id) {  char * tag = XP_GetString(id);  char * java_sec_help_url = XP_GetString(CAPS_TARGET_HELP_URL);  PR_ASSERT(tag != NULL);  PR_ASSERT(java_sec_help_url != NULL);  char *helpURL = new char[strlen(java_sec_help_url) + strlen(tag) + 1];  XP_STRCPY(helpURL, java_sec_help_url);  XP_STRCAT(helpURL, tag);  return helpURL;}