Author: mordante
Date: Sat Dec 6 00:18:23 2008
New Revision: 31296
URL: http://svn.gna.org/viewcvs/wesnoth?rev=31296&view=rev
Log:
Fix a typo(, which also caused crashes).
Modified:
trunk/src/poolalloc.c
Modified: trunk/src/poolalloc.c
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/poolalloc.c?rev=31296&r1=31295&r2=31296&view=diff
==============================================================================
--- trunk/src/poolalloc.c (original)
+++ trunk/src/poolalloc.c Sat Dec 6 00:18:23 2008
@@ -236,7 +236,7 @@
{
pthread_mutex_lock(&free_chunks_mutex);
int n;
- for(n = 0; n != free_chunks; ++n) {
+ for(n = 0; n != nfree_chunks; ++n) {
free_memory(free_chunks[n]);
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits