unlink hna_net entry before freeing
authorHannes Gredler <hannes@gredler.at>
Mon, 16 Jun 2008 08:51:00 +0000 (10:51 +0200)
committerHannes Gredler <hannes@gredler.at>
Mon, 16 Jun 2008 08:51:00 +0000 (10:51 +0200)
src/hna_set.c

index 0dd3a7f..aab2c6b 100644 (file)
@@ -239,6 +239,7 @@ olsr_expire_hna_net_entry(void *context)
     olsr_cookie_free(hna_entry_mem_cookie, hna_gw);
   }
 
+  DEQUEUE_ELEM(net_to_delete);
   olsr_cookie_free(hna_net_mem_cookie, net_to_delete);
 }