diff options
author | Vedant Paranjape <vedantparanjape160201@gmail.com> | 2021-08-21 18:42:02 +0530 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-08-26 16:36:14 +0300 |
commit | dac58fdd2a84e2e00a90f3c568c57972c0be0b6f (patch) | |
tree | df73e2c8da62cb8cf1090fa89c40c566b033ef6a /test/v4l2_videodevice/double_open.cpp | |
parent | e89d8c7e503a6c88ed998c757ebade45f7a3f4ff (diff) |
test: gstreamer: Clean up memory management
This patch simplifies memory management, i.e., by replacing bare
pointers with g_autoptr or g_autofree according to use case.
While at it also update time representation of timeout variable with
GST_SECOND.
Signed-off-by: Vedant Paranjape <vedantparanjape160201@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/double_open.cpp')
0 files changed, 0 insertions, 0 deletions