diff options
Diffstat (limited to 'libmate-desktop/mate-bg.c')
-rw-r--r-- | libmate-desktop/mate-bg.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libmate-desktop/mate-bg.c b/libmate-desktop/mate-bg.c index d8a20c8..803fa02 100644 --- a/libmate-desktop/mate-bg.c +++ b/libmate-desktop/mate-bg.c @@ -2972,10 +2972,7 @@ slideshow_unref (SlideShow *show) } g_queue_free (show->slides); - - g_list_foreach (show->stack->head, (GFunc) g_free, NULL); - g_queue_free (show->stack); - + g_queue_free_full (show->stack, g_free); g_free (show); } |