Hi Gerel. [EMAIL PROTECTED] disp_fn +The function called when @var{element} is removed, can be NULL.
Would be good to explain there what the function does if the parameter is NULL. + if (pdf_hash_add (props_hash, "isHidden", (void *) is_hidden,NULL) != + PDF_OK) + { + return PDF_ERROR; + } Will the memory used by 'is_hidden' be released when the hash is destroyed being the last parameter NULL? As far as I understand in this case the dispose function defined for the hash will be applied. Also, in the same function: newelt->key = key; ... gl_sortedlist_add ((gl_list_t)table.keys, key_compare, key); Is 'gl_sortedlist_add' making a copy of 'key'?