search for: check_store_

Displaying 1 result from an estimated 1 matches for "check_store_".

2007 Sep 17
4
Xenstored: eliminate double free and fixes for memory leak
...lloc_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 condition can be returned? I am still making changes to the same file, but was hesitant to incorporate so ma...