summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 526320a)
raw | patch | inline | side by side (parent: 526320a)
author | Florian Forster <octo@huhu.verplant.org> | |
Wed, 8 Jul 2009 08:51:28 +0000 (10:51 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 8 Jul 2009 08:51:28 +0000 (10:51 +0200) |
This may habe been a cause of the reported assertion failure, too.
src/utils_cache.c | patch | blob | history |
diff --git a/src/utils_cache.c b/src/utils_cache.c
index 2f70ffe8d1f6d99dd3bf605ec922d22d68c307d5..7b584c5c65231471f3525446a05d187278d79bf3 100644 (file)
--- a/src/utils_cache.c
+++ b/src/utils_cache.c
}
sfree (keys[i]);
sfree (key);
- cache_free (ce);
continue;
}
keys[i], status);
sfree (keys[i]);
}
+
+ /* Make really sure the next iteration doesn't work with this pointer.
+ * There have been too many bugs in the past.. :/ -- octo */
+ ce = NULL;
} /* for (keys[i]) */
c_avl_iterator_destroy (iter);