[Xfce4-commits] r25505 - squeeze/trunk/libsqueeze
Stephan Arts
stephan at xfce.org
Tue Apr 10 00:15:43 CEST 2007
Author: stephan
Date: 2007-04-09 22:15:43 +0000 (Mon, 09 Apr 2007)
New Revision: 25505
Modified:
squeeze/trunk/libsqueeze/archive-iter.c
Log:
fixed memory-leak introduced with previous commit
Modified: squeeze/trunk/libsqueeze/archive-iter.c
===================================================================
--- squeeze/trunk/libsqueeze/archive-iter.c 2007-04-09 22:11:49 UTC (rev 25504)
+++ squeeze/trunk/libsqueeze/archive-iter.c 2007-04-09 22:15:43 UTC (rev 25505)
@@ -160,12 +160,11 @@
guint i;
for(i = 0; i < pool->size; ++i)
{
- /* we don't need to remove unexisting entries, just clean the pool */
- /*
if(!lsq_archive_iter_is_real(pool->pool[i]))
lsq_archive_entry_free(pool->pool[i]->archive, pool->pool[i]->entry);
- */
-
+ }
+ for(i = 0; i < pool->size; ++i)
+ {
#ifdef USE_LSQITER_SLICES
/* Cleaning up the whole pool */
/* Now we can free the iters */
More information about the Xfce4-commits
mailing list