Searched refs:new_iccp_name (Results 1 – 2 of 2) sorted by relevance
680 png_charp new_iccp_name; in png_set_iCCP() local687 new_iccp_name = (png_charp)png_malloc_warn(png_ptr, png_strlen(name)+1); in png_set_iCCP()688 if (new_iccp_name == NULL) in png_set_iCCP()693 png_strncpy(new_iccp_name, name, png_sizeof(new_iccp_name)); in png_set_iCCP()697 png_free (png_ptr, new_iccp_name); in png_set_iCCP()706 info_ptr->iccp_name = new_iccp_name; in png_set_iCCP()
598 png_charp new_iccp_name; in png_set_iCCP() local608 new_iccp_name = (png_charp)png_malloc_warn(png_ptr, length); in png_set_iCCP()609 if (new_iccp_name == NULL) in png_set_iCCP()614 png_memcpy(new_iccp_name, name, length); in png_set_iCCP()618 png_free (png_ptr, new_iccp_name); in png_set_iCCP()628 info_ptr->iccp_name = new_iccp_name; in png_set_iCCP()