Mercurial > mplayer.hg
diff get_path.h @ 29047:f4f2524c356b
Initialize all structs to 0 before using them.
This is consistent with the remaining code (which uses e.g. calloc) and makes
it easier to extend the structs in the future.
As a side effect it fixes several valgrind errors in hashmap_hash/hashmap_key_compare
caused by padding in the structures, but it is not a correct fix for that issue.
author | reimar |
---|---|
date | Sat, 28 Mar 2009 19:21:34 +0000 |
parents | 0f42fb42843c |
children | eda346733b8c |