[mapserver-commits] [mapserver/mapserver] 51bd4d: Fix memory leaks in mapdrawgdal.c
GitHub
noreply at github.com
Fri Aug 21 12:56:04 PDT 2015
Branch: refs/heads/master
Home: https://github.com/mapserver/mapserver
Commit: 51bd4d78f0b57deac8b714375051f5398de1f41e
https://github.com/mapserver/mapserver/commit/51bd4d78f0b57deac8b714375051f5398de1f41e
Author: Sander Jansen <s.jansen at gmail.com>
Date: 2015-08-21 (Fri, 21 Aug 2015)
Changed paths:
M mapdrawgdal.c
Log Message:
-----------
Fix memory leaks in mapdrawgdal.c
1. To prevent mask_rb from leaking, it now gets allocated on the stack.
2. hColorMap wasn't always freed in case there was an error.
3. Several other minor leaks that didn't get freed on error.
More information about the mapserver-commits
mailing list