r4563 - trunk/src/target/opkg/libopkg

tick at docs.openmoko.org tick at docs.openmoko.org
Wed Jul 30 14:31:19 CEST 2008


Author: tick
Date: 2008-07-30 14:31:19 +0200 (Wed, 30 Jul 2008)
New Revision: 4563

Modified:
   trunk/src/target/opkg/libopkg/pkg.c
Log:
opkg: mark one line that cause crash. 
      But it will makes the system failed in reference count. 


Modified: trunk/src/target/opkg/libopkg/pkg.c
===================================================================
--- trunk/src/target/opkg/libopkg/pkg.c	2008-07-29 14:07:05 UTC (rev 4562)
+++ trunk/src/target/opkg/libopkg/pkg.c	2008-07-30 12:31:19 UTC (rev 4563)
@@ -1737,7 +1737,8 @@
 	       // opkg_message(conf, OPKG_DEBUG2, "pkg %s: file=%s\n", pkg->name, installed_file);
 	       file_hash_set_file_owner(conf, installed_file, pkg);
 	  }
-	  pkg_free_installed_files(pkg);
+	  //FIXME: mark this line. Thid avoid crash, But the reference count shall be balanced. (If there are some delay after file_hash_set_file_owner, it wont crash (Pondering why?))
+	  //pkg_free_installed_files(pkg);
      }
      pkg_vec_free(installed_pkgs);
 





More information about the commitlog mailing list