[gimp/gimp-2-8] plug-ins: don't free a pointer allocated with g_newa in file-pdf-save



commit db4c8239f392c5bef057e9512af16cd658a115a8
Author: Michael Henning <drawoc darkrefraction com>
Date:   Wed Jan 9 16:59:23 2013 -0500

    plug-ins: don't free a pointer allocated with g_newa in file-pdf-save
    
    Found using clang's scan-build.
    (cherry picked from commit c59e569e50aede6ae375b0dd184ada3dc58ffd12)

 plug-ins/common/file-pdf-save.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-pdf-save.c b/plug-ins/common/file-pdf-save.c
index 6296845..ff579ce 100644
--- a/plug-ins/common/file-pdf-save.c
+++ b/plug-ins/common/file-pdf-save.c
@@ -1071,8 +1071,6 @@ del_image_call (GtkWidget *widget,
           gtk_tree_row_reference_free (items[i]);
           multi_page.image_count--;
         }
-
-      g_free (items);
     }
 
   dnd_remove = TRUE;



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