Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37719977
en ru br
ALT Linux repos
S:0.23-alt0.4
5.0: 0.14.1-alt1
4.1: 0.13-alt2
4.0: 0.12-alt1

Group :: Graphics
RPM: ufraw

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ufraw-0.22-lf-destroy.patch
Download


--- ufraw-0.22/ufraw_ufraw.c	2015-06-16 04:58:38.000000000 +0100
+++ ufraw-0.22.new/ufraw_ufraw.c	2016-12-18 00:55:45.794466747 +0000
@@ -767,8 +767,10 @@ void ufraw_close(ufraw_data *uf)
     g_free(uf->displayProfile);
     g_free(uf->RawHistogram);
 #ifdef HAVE_LENSFUN
-    lf_modifier_destroy(uf->TCAmodifier);
-    lf_modifier_destroy(uf->modifier);
+    if (uf->TCAmodifier != NULL)
+        lf_modifier_destroy(uf->TCAmodifier);
+    if (uf->modifier != NULL)
+        lf_modifier_destroy(uf->modifier);
 #endif
     ufobject_delete(uf->conf->ufobject);
     g_free(uf->conf);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin