diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-18 01:05:42 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-21 11:13:40 +0200 |
commit | 0908669834c459bca0c52ac951ede84126f2546d (patch) | |
tree | 62a59bed06e5306f98eb424e1b52e1ab6e34bc75 /include/linux/v4l2-common.h | |
parent | bd0c8180232b6928f71d13d7ad493cc3215cde46 (diff) |
Documentation: coding_style: Add object ownership rules
Object ownership is a complex topic that can lead to many issues, from
memory leak to crashes. Document the rules that libcamera enforces to
make object ownership tracking explicit.
This is a first version of the rules and is expected to be expanded as
the library is developed.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'include/linux/v4l2-common.h')
0 files changed, 0 insertions, 0 deletions