[gimp/gimp-2-10] plug-ins: fix backported DICOM patch.



commit d3950ab0c9c159690326f625dfbaad78332e861c
Author: Jehan <jehan girinstud io>
Date:   Wed Jan 19 14:55:57 2022 +0100

    plug-ins: fix backported DICOM patch.
    
    Commit b44e7daf4cd was closing a non-existing `dicom` variable. It was
    named `DICOM` in the gimp-2-10 branch.

 plug-ins/common/file-dicom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/common/file-dicom.c b/plug-ins/common/file-dicom.c
index 8bbebd5368..58b1960dc1 100644
--- a/plug-ins/common/file-dicom.c
+++ b/plug-ins/common/file-dicom.c
@@ -601,7 +601,7 @@ load_image (const gchar  *filename,
                                  "with samples per pixel: %d"),
                                (gchar *) value, samples_per_pixel);
                   g_free (dicominfo);
-                  fclose (dicom);
+                  fclose (DICOM);
                   return NULL;
                 }
 


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