X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fhashmap.c;h=4d2fa3cf5d62f57092331b2c472022c2c6f8005b;hb=6fc2d9e75412ef168ef3b09c091e5821fc39b99a;hp=24df1f2afa0b790ae576cd764d25933d7f3a315e;hpb=4f0a5e7572a4257894b4bfede42c26d65152609e;p=catta diff --git a/avahi-core/hashmap.c b/avahi-core/hashmap.c index 24df1f2..4d2fa3c 100644 --- a/avahi-core/hashmap.c +++ b/avahi-core/hashmap.c @@ -69,6 +69,7 @@ static Entry* entry_get(AvahiHashmap *m, const void *key) { static void entry_free(AvahiHashmap *m, Entry *e, int stolen) { unsigned idx; + assert(m); assert(e); idx = m->hash_func(e->key) % HASH_MAP_SIZE;