libdc1394-dev team mailing list archive
-
libdc1394-dev team
-
Mailing list archive
-
Message #00123
[Bug 985997] [NEW] ISO resources not freed at end of camera lifetime.
Public bug reported:
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.
** Affects: libdc1394-22 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of DC1394
Package Mainteners' team, which is subscribed to libdc1394-22 in Ubuntu.
https://bugs.launchpad.net/bugs/985997
Title:
ISO resources not freed at end of camera lifetime.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libdc1394-22/+bug/985997/+subscriptions
Follow ups
References