intel / libyami-utils

Libyami Utilities
Apache License 2.0
24 stars 45 forks source link

v4l2: add virtual destructor and check NULL point #89

Closed wudping closed 7 years ago

wudping commented 7 years ago

1, define the base class's destructor as virtual. 2, make sure the pointer is not NULL before accessing.

to fix static code scan issue.

Signed-off-by: wudping dongpingx.wu@intel.com

wudping commented 7 years ago

pull request policy and shared_ptr issues done, please help to review. Thanks