Skip to content
Permalink
Browse files

fix memory leak in mapproject.c (#5150)

  • Loading branch information
gogglesguy authored and tbonfort committed Sep 8, 2015
1 parent 8cf63dc commit 433428e5f972ecf1c8aba927298b2a1b18a7dc65
Showing with 4 additions and 0 deletions.
  1. +4 −0 mapproject.c
@@ -1030,6 +1030,10 @@ static projectionObj* msGetProjectNormalized( const projectionObj* p )
memmove(pnew->args + i, pnew->args + i + 1,
sizeof(char*) * (pnew->numargs - 1 -i ));
}
else
{
msFree(pnew->args[i]);
}
pnew->numargs --;
i --;
continue;

0 comments on commit 433428e

Please sign in to comment.
You can’t perform that action at this time.