Lines Matching refs:free_fn
111 png_destroy_struct_2(png_voidp struct_ptr, png_free_ptr free_fn,
118 if (free_fn != NULL)
123 (*(free_fn))(png_ptr, struct_ptr);
356 if (png_ptr->free_fn != NULL)
358 (*(png_ptr->free_fn))(png_ptr, ptr);
474 png_destroy_struct_2(png_voidp struct_ptr, png_free_ptr free_fn,
481 if (free_fn != NULL)
486 (*(free_fn))(png_ptr, struct_ptr);
612 if (png_ptr->free_fn != NULL)
614 (*(png_ptr->free_fn))(png_ptr, ptr);
672 malloc_fn, png_free_ptr free_fn)
678 png_ptr->free_fn = free_fn;