[libcamera-devel,v2,0/4] cam: improve error paths
mbox series

Message ID 20190224171407.7856-1-niklas.soderlund@ragnatech.se
Headers show
Series
  • cam: improve error paths
Related show

Message

Niklas Söderlund Feb. 24, 2019, 5:14 p.m. UTC
Hi,

This series improves the error paths of the cam tool. The most
noteworthy fix is 1/4 where the buffers allocated by the tool is
actually freed once they are no longer needed.

* Changes since v1
- Update patch 4/4 to be more clever per Laurent's suggestion, thanks!

Niklas Söderlund (4):
  cam: free allocated buffers when done capturing
  cam: improve error checking when capturing
  cam: fix printing of camera name
  cam: Improve when usage information is printed

 src/cam/main.cpp | 33 +++++++++++++++++++++------------
 1 file changed, 21 insertions(+), 12 deletions(-)

Comments

Niklas Söderlund Feb. 25, 2019, 10:28 p.m. UTC | #1
On 2019-02-24 18:14:03 +0100, Niklas Söderlund wrote:
> Hi,
> 
> This series improves the error paths of the cam tool. The most
> noteworthy fix is 1/4 where the buffers allocated by the tool is
> actually freed once they are no longer needed.

Series pushed to master.

> 
> * Changes since v1
> - Update patch 4/4 to be more clever per Laurent's suggestion, thanks!
> 
> Niklas Söderlund (4):
>   cam: free allocated buffers when done capturing
>   cam: improve error checking when capturing
>   cam: fix printing of camera name
>   cam: Improve when usage information is printed
> 
>  src/cam/main.cpp | 33 +++++++++++++++++++++------------
>  1 file changed, 21 insertions(+), 12 deletions(-)
> 
> -- 
> 2.20.1
>