[Xfce4-commits] [apps/ristretto] 01/01: Revert "Fix memory leak in thumbnailer if image file not found"

noreply at xfce.org noreply at xfce.org
Sun Apr 7 22:29:58 CEST 2019


This is an automated email from the git hooks/post-receive script.

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/ristretto.

commit caf6b19e1eeafe8a1fa219a4c27d37c77563ee3c
Author: Igor <f2404 at yandex.ru>
Date:   Sun Apr 7 16:29:30 2019 -0400

    Revert "Fix memory leak in thumbnailer if image file not found"
    
    This reverts commit 69b7459957427aed16caddb699c5b496dfb6deee.
    
    Fixes bug #13419
---
 src/file.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/file.c b/src/file.c
index d9d046f..22f7550 100644
--- a/src/file.c
+++ b/src/file.c
@@ -583,15 +583,15 @@ rstto_file_get_thumbnail (
 
     thumbnail_path = rstto_file_get_thumbnail_path (r_file);
 
+    thumbnailer = rstto_thumbnailer_new();
+    rstto_thumbnailer_queue_file (thumbnailer, r_file);
+
     if (NULL == thumbnail_path)
     {
         /* No thumbnail to return at this time */
         return NULL;
     }
 
-    thumbnailer = rstto_thumbnailer_new();
-    rstto_thumbnailer_queue_file (thumbnailer, r_file);
-
     /* FIXME:
      *
      * The thumbnail should be updated on the "ready" signal

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list