* slideshow.c (real_slideshow_start): Fix memory leak when unable to
begin a slideshow.
+Thu Nov 30 09:55:42 2006 John Ellis <johne@verizon.net>
+
+ * slideshow.c (real_slideshow_start): Fix memory leak when unable to
+ begin a slideshow.
+
Wed Nov 29 22:53:03 2006 John Ellis <johne@verizon.net>
* image-overlay.[ch]: Prepare for icon notification display, and fix
Minor (non blockers):
----------------------------------------------
- > fix gtk_table_attach use to not use FALSE for fill vertical arg.
+d> fix memory leak in real_slideshow_start() when slideshow_step fails.
+
+d> fix gtk_table_attach use to not use FALSE for fill vertical arg.
> xv and xpaint are hardly used or even installed by any distro anymore - time
to remove these (and find alternates?) seems silly to only have gimp.
ss->from_selection = FALSE;
- ss->stop_func = stop_func;
- ss->stop_data = stop_data;
+ ss->stop_func = NULL;
ss->timeout_id = -1;
-
ss->paused = FALSE;
if (ss->path_list)
if (slideshow_step(ss, TRUE))
{
slideshow_timer_reset(ss, TRUE);
+
+ ss->stop_func = stop_func;
+ ss->stop_data = stop_data;
}
else
{
+ slideshow_free(ss);
ss = NULL;
}