[GRASS-git] [OSGeo/grass] c45835: r3.showdspf: Fix resource leak (#2295)

Loïc Bartoletti noreply at github.com
Fri Apr 8 06:27:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: c45835078932ea95912029a263c27d763ca9945e
      https://github.com/OSGeo/grass/commit/c45835078932ea95912029a263c27d763ca9945e
  Author: Loïc Bartoletti <lbartoletti at users.noreply.github.com>
  Date:   2022-04-08 (Fri, 08 Apr 2022)

  Changed paths:
    M raster3d/r3.showdspf/new_init_graphics.c

  Log Message:
  -----------
  r3.showdspf: Fix resource leak (#2295)

Add missing fclose before returning from the loadrect function when out of memory.




More information about the grass-commit mailing list