Actually there was the same issue in line 143.

  Fixed and committed to SVN.

Best,
Scuri


2018-01-16 22:36 GMT-02:00 Ranier VF <ranier_...@hotmail.com>:

> Hi,
> Issue found by Coverity Scan.
> CID 210622 (#1 of 1): Resource leak (RESOURCE_LEAK)
>
> --- a\src\iup_config.c  Thu Oct 05 12:41:46 2017
> +++ b\src\iup_config.c  Tue Jan 16 22:36:04 2018
> @@ -137,7 +137,10 @@
>
>      int line_len = iupLineFileReadLine(line_file);
>      if (line_len == -1)
> +    {
> +      iupLineFileClose(line_file);
>        return -2;
> +    }
>
>      line_buffer = iupLineFileGetBuffer(line_file);
>
> Best.
> Ranier.
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to