lwline_from_lwmpoint leaks memory
|Reported by:||strk||Owned by:||pramsey|
The lwline_from_lwmpoint function creates an lwline with a pointarray marked as "read-only" when instead the serialized point list is created internally to the function.
Thanks Kashif Rasul for finding out: https://github.com/postgis/postgis/pull/23#issuecomment-46825167
I hadn't checked up to which version the problem occurs.