Skip to content
Snippets Groups Projects
  1. Jun 13, 2021
  2. Jun 09, 2021
  3. Jun 04, 2021
  4. Jun 01, 2021
  5. May 20, 2021
  6. May 10, 2021
  7. Apr 19, 2021
  8. Apr 18, 2021
  9. Apr 12, 2021
  10. Feb 23, 2021
  11. Feb 14, 2021
  12. Jan 10, 2021
  13. 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
  14. Nov 15, 2020
Loading