[Rawstudio-commit] r2019 - trunk/src
Anders Brander
anders at brander.dk
Wed Sep 17 23:27:26 CEST 2008
Author: abrander
Date: 2008-09-17 23:27:26 +0200 (Wed, 17 Sep 2008)
New Revision: 2019
Modified:
trunk/src/rs-batch.c
Log:
[221] Fix iter-overrun in rs_batch_remove_from_queue().
Modified: trunk/src/rs-batch.c
===================================================================
--- trunk/src/rs-batch.c 2008-09-17 21:21:44 UTC (rev 2018)
+++ trunk/src/rs-batch.c 2008-09-17 21:27:26 UTC (rev 2019)
@@ -316,6 +316,10 @@
}
}
g_free(filename_temp);
+
+ /* Break out of the loop if we got a hit */
+ if (ret)
+ break;
} while (gtk_tree_model_iter_next(queue->list, &iter));
}
More information about the Rawstudio-commit
mailing list