
24 Feb
2011
24 Feb
'11
3:19 p.m.
Hi, 2011/2/24 Daniel P. Berrange <berrange@redhat.com>:
Since the deallocator is passed into the constructor of a hash table it is not desirable to pass it into each function again. Remove it from all functions, but provide a virHashSteal to allow a item to be removed from a hash table without deleteing it.
Ah, I was planning to send a very similar patch tonight, I had missed the need for virHashSteal though so yours is better. The patch looks good to me. Christophe