raster pushed a commit to branch master.

http://git.enlightenment.org/apps/rage.git/commit/?id=d82c1877ecc9aed67f567696f451012220527e24

commit d82c1877ecc9aed67f567696f451012220527e24
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Sep 28 10:49:40 2017 +0900

    fix warning about use after free - wasnt but coverity didn't know better
    
    silence CID 165236
---
 src/bin/videothumb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/videothumb.c b/src/bin/videothumb.c
index 51b39df..a27ce09 100644
--- a/src/bin/videothumb.c
+++ b/src/bin/videothumb.c
@@ -89,8 +89,8 @@ static void
 _busy_pending_del(Pending *p)
 {
    eina_stringshare_del(p->realpath);
-   free(p);
    busy_thumbs = eina_list_remove(busy_thumbs, p);
+   free(p);
 }
 
 static Eina_Bool

-- 


Reply via email to