Skip to content

Reference counters

Jerome Flesch requested to merge jflesch/libinsane:wip-refcount into master
  • Fix various memory leaks
  • Use the GObject reference counter to avoid issues with languages like Python
  • Workaround 'cache': Python app like IronScanner may request many time the same device (device selection dialog) ==> Keep track of the devices (== root items) requested and return the same device instance when the same device ID is given (use a refcount to keep track of when it can be safely closed).
  • Workaround 'cache': Fix: if the set_flags says application must reload all options, we must let it reload them all ...

Merge request reports