** Changed in: libdc1394-22 (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libdc1394-22 in Ubuntu.
https://bugs.launchpad.net/bugs/985997
Title:
ISO resources not freed at end of camera lifetime.
Status in libdc1394-22 package in Ubuntu:
Fix Released
Bug description:
This bug was found while examining the source code of libdc1394
version 2.2.0 so OS version is irrelevant.
The API states that ISO resources associated with a camera are freed
when the camera is freed by default unless they are explicitly set to
persist beyond the lifetime of a camera. For both cases, the opposite
of the desired behaviour occurs.
This behaviour is controlled by a private variable, iso_persist. The
variable is initialised to zero. The only place it is modified is by
dc1394_iso_set_persist(camera) where it is set to 1.
When a camera is freed via dc1394_camera_free(camera), a conditional
expression determines whether or not the iso resources are released.
It frees the iso resources if iso_persist is nonzero and does not free
resources if iso_persist is 0. This is the opposite of the desired
behaviour given that by default iso_persist is 0.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libdc1394-22/+bug/985997/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp