index 0a6cd025293e3add74267fb62866fbdc81342d7f..9432566abcb88d4784b2984d75f82a2b9a36f2de 100644 (file)
*p = '0円';
/* get the exponent */
- mant = (char *) strtok(strdup(result), "e");
+ mant = (char *) strtok(pstrdup(result), "e");
exp = atoi(strtok(NULL, "e"));
if (exp == 0)