Skip to content

Commit

Permalink
Fix symbolObj.getImage seg fault in PHP/MapScript
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Boudreault committed Aug 28, 2012
1 parent 28592bf commit c64d1bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions HISTORY.TXT
Expand Up @@ -14,6 +14,8 @@ For a complete change history, please see the Git log comments.
Current Version (future 6.2.0-beta2, GIT branch-6-2):
-------------------------------------------------

- Fix symbolObj.getImage seg fault in PHP/MapScript

- Fix bad handling of startindex in some drivers (#4011)

- Fixed bugs with WCS 1.1/2.0 with VSIMEM (#4369)
Expand Down
2 changes: 1 addition & 1 deletion mapscript/php/mapscript_i.c
Expand Up @@ -1923,7 +1923,7 @@ void outputFormatObj_destroy(outputFormatObj* self)

imageObj *symbolObj_getImage(symbolObj *self, outputFormatObj *input_format)
{
imageObj *image;
imageObj *image = NULL;
outputFormatObj *format = NULL;
rendererVTableObj *renderer = NULL;

Expand Down
2 changes: 1 addition & 1 deletion mapscript/swiginc/symbol.i
Expand Up @@ -97,7 +97,7 @@
%newobject getImage;
imageObj *getImage(outputFormatObj *input_format)
{
imageObj *image;
imageObj *image = NULL;
outputFormatObj *format = NULL;
rendererVTableObj *renderer = NULL;

Expand Down

0 comments on commit c64d1bb

Please sign in to comment.