#961 libgphoto2-2.5.2: two resource leaks

closed-fixed
None
5
2014-03-23
2013-08-22
dcb
No

I just ran static analyser "cppcheck" over the source code
of libgphoto2-2.5.2. It said

[usbscsi/linux.c:220]: (error) Resource leak: dir
[usbdiskdirect/linux.c:235]: (error) Resource leak: dir

I checked these two and they are both in error handling code
in the CHECK macro, so maybe not so important.

Discussion

  • Marcus Meissner

    Marcus Meissner - 2014-03-23

    it should be fixed in 2.5.4 I think

     
  • Marcus Meissner

    Marcus Meissner - 2014-03-23
    • status: open --> closed-fixed
    • assigned_to: Marcus Meissner
     

Log in to post a comment.