Displaying 1 result from an estimated 1 matches for "create_hashtable".
2007 Sep 17
4
Xenstored: eliminate double free and fixes for memory leak
...dition, as
send_reply() does not free any memory.
c. Many of the functions like read_node(), get_parent(),
talloc_asprintf() etc all will allocate memory and return a pointer
when memory is allocated, but many times these are not freed.
Another problem identified but which I cannot fix, is that
create_hashtable() can return NULL in low memory condition. But this
is not checked in the recursive function check_store_(). There is no
value to specify error or not in the return value of check_store_()
(declared as void). May be we should change this to unsigned int or
something like that, so that error c...