small buxfix in memcookie cleanup
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Tue, 5 Apr 2011 11:40:59 +0000 (13:40 +0200)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Tue, 5 Apr 2011 11:40:59 +0000 (13:40 +0200)
src/olsr_memcookie.c

index 13d6a1d..3bef844 100644 (file)
@@ -109,7 +109,7 @@ olsr_memcookie_cleanup(void)
 {
   struct olsr_memcookie_info *info, *iterator;
 
-  if (olsr_cookie_tree.cmp_ptr == NULL) {
+  if (olsr_cookie_tree.comp == NULL) {
     /* nothing to do */
     return;
   }