[gimp/gimp-2-10] plug-ins: fix last twain-plug-in commit



commit 580e4b813a21b27deee5c3924e82803c43b59c7a
Author: Ell <ell_se yahoo com>
Date:   Thu Jun 4 01:12:32 2020 +0300

    plug-ins: fix last twain-plug-in commit
    
    (cherry picked from commit 6def9e59fb870b8e59fe0896425359a8308cacbe)

 plug-ins/twain/twain.c | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/plug-ins/twain/twain.c b/plug-ins/twain/twain.c
index a99ffdd3e6..a50e740095 100644
--- a/plug-ins/twain/twain.c
+++ b/plug-ins/twain/twain.c
@@ -989,12 +989,6 @@ endTransferCallback (int   completionState,
               completionState, pendingCount);
 
   /* Clean up and detach from the drawable */
-  if (destBuf)
-    {
-      g_free (destBuf);
-      destBuf = NULL;
-    }
-
   g_object_unref (theClientData->buffer);
 
   /* Make sure to check our return code */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]