poldek: poldek/install3/ictx.c - forgotten errors cleaning (#118)

mis mis at pld-linux.org
Mon Mar 3 00:27:44 CET 2008


Author: mis                          Date: Sun Mar  2 23:27:44 2008 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- forgotten errors cleaning (#118)

---- Files affected:
poldek/poldek/install3:
   ictx.c (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: poldek/poldek/install3/ictx.c
diff -u poldek/poldek/install3/ictx.c:1.3 poldek/poldek/install3/ictx.c:1.4
--- poldek/poldek/install3/ictx.c:1.3	Wed Jan 30 23:13:42 2008
+++ poldek/poldek/install3/ictx.c	Mon Mar  3 00:27:39 2008
@@ -208,6 +208,7 @@
     ictx->ts = NULL;
     ictx->ps = NULL;
     pkgmark_set_free(ictx->processed);
+    n_hash_free(ictx->errors);
     memset(ictx, 0, sizeof(*ictx));
 }
 
@@ -223,7 +224,8 @@
     
     pkgmark_set_free(ictx->processed);
     ictx->processed = pkgmark_set_new(0, PKGMARK_SET_IDPTR);
-    
+
+    n_hash_clean(ictx->errors);
     ictx->abort = 0;
 }
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/install3/ictx.c?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list