Skip to content
Snippets Groups Projects
  1. Jan 10, 2021
  2. Jan 09, 2021
    • Jelle van der Waa's avatar
      src: handle refcounting for Package objects · d25ec6a3
      Jelle van der Waa authored
      The current pyalpm implementation has no proper refcounting for Package
      objects. Add refcount handling for the Database Object in the Package
      model and Decref when the package object goes out of scope.
      Verified
      d25ec6a3
    • Jelle van der Waa's avatar
      src: handle refcounting for Database objects · db3caa63
      Jelle van der Waa authored
      
      The current pyalpm implementation does not handle proper refcounting
      which means the alpm_handle was never freed otherwise accessing an
      object when the Handle goes out of scope leads to segfaults.
      
      This means everything needs to keep a reference to the pyalpm Handle
      object for every object created from it. The database object now
      receives a Handle and increases the refcount for it to stop it from
      being removed by the Python garbage collector.
      
      Signed-off-by: default avatarJelle van der Waa <jelle@archlinux.org>
      Verified
      db3caa63
  3. Nov 15, 2020
  4. Oct 13, 2020
  5. Oct 03, 2020
  6. Jun 27, 2020
  7. May 20, 2020
  8. May 15, 2020
  9. May 12, 2020
  10. May 11, 2020
  11. Mar 19, 2020
  12. Jan 15, 2020
  13. Jan 12, 2020
  14. Nov 03, 2019
  15. Oct 21, 2019
  16. May 14, 2019
  17. May 10, 2019
Loading