Searched refs:newstr (Results 1 – 2 of 2) sorted by relevance
113 char *newstr; in strdup_check() local115 newstr = strdup(str); in strdup_check()116 if (!newstr) { in strdup_check()120 return newstr; in strdup_check()
552 char *newstr = NULL; in spk_msg_set() local558 newstr = kmemdup_nul(text, length, GFP_KERNEL); in spk_msg_set()559 if (!newstr) in spk_msg_set()564 !fmt_validate(speakup_default_msgs[index], newstr)) { in spk_msg_set()565 kfree(newstr); in spk_msg_set()571 speakup_msgs[index] = newstr; in spk_msg_set()