Memory leak in Rast_read_color_rules() ?
|Reported by:||sprice||Owned by:|
I was looking for memory leaks in my program and I think I found one in Rast_read_color_rules() (if I'm reading it correctly).
On line 224 you see G_realloc() called, but no calls to G_free() anywhere. If I'm reading it correctly, you should insert G_free() at line 254 (or later).