raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=01a145811f54272e49f9e0248ded5d762ac3dd39

commit 01a145811f54272e49f9e0248ded5d762ac3dd39
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Apr 19 01:24:46 2020 +0100

    shot upload - fix close of fd -1 - harmless but wrong
    
    fix CID 1425205
---
 src/modules/shot/upload.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/modules/shot/upload.c b/src/modules/shot/upload.c
index e4f9f8151..3e400ceb7 100644
--- a/src/modules/shot/upload.c
+++ b/src/modules/shot/upload.c
@@ -73,7 +73,6 @@ find_tmpfile(int quality, char *buf, size_t buf_size)
              close(fd);
              return EINA_TRUE;
           }
-        close(fd);
      }
    return EINA_FALSE;
 }

-- 


Reply via email to