Opened 11 years ago
Last modified 6 years ago
#2064 new defect
Memory leak in write_support_files()
Reported by: | sprice | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.6.2 |
Component: | LibRaster | Version: | unspecified |
Keywords: | Cc: | ||
CPU: | Unspecified | Platform: | Unspecified |
Description
write_support_files() calls Rast_short_history() & Rast_write_history().
Rast_short_history() calls Rast_format_history() which calls G_vasprintf() which calls G_malloc(). But this memory is never freed after Rast_write_history().
You should probably call Rast_free_history(), or G_free(hist->fields[HIST_KEYWRD]), at raster/close.c:191
Change History (6)
comment:1 by , 11 years ago
Component: | Default → LibRaster |
---|
comment:2 by , 9 years ago
Milestone: | 7.0.0 → 7.0.5 |
---|
comment:3 by , 8 years ago
comment:4 by , 8 years ago
Milestone: | 7.0.5 → 7.0.6 |
---|
comment:5 by , 7 years ago
Milestone: | 7.0.6 → 7.0.7 |
---|
comment:6 by , 6 years ago
Milestone: | 7.0.7 → 7.6.2 |
---|
Note:
See TracTickets
for help on using tickets.
Anyone able to check libraster for a potentially missing Rast_free_history()?