Follow-up Comment #6, patch #2218 (project freeciv):

And this is correct since you don't use spechash_hash_insert().
spechash_hash_replace() always set the data and the key in the hash table. As
spechash_hash_insert() doesn't, on failure, we used to forget to free the key
and the data. In this case, SPECHASH_<DATA|KEY>_COPY is useful (e.g. for


Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to