diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-02-06 20:52:31 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2018-02-06 21:30:42 +0100 |
| commit | 27200f2f7689cb77546efb2e3ba0e795c46fd45f (patch) | |
| tree | 644f0a06a88e51aac97bf84cb77c0c579349fb80 /docs | |
| parent | 3dfd8b26d30f5b1acd189154b830eceb6ac38ccb (diff) | |
| download | PROJ-27200f2f7689cb77546efb2e3ba0e795c46fd45f.tar.gz PROJ-27200f2f7689cb77546efb2e3ba0e795c46fd45f.zip | |
Make pj_free return with the correct errno.
Error codes can't be specified directly in pj_free. With this change the
error number in proj_errno() is passed on to P->destructor to ensure
that we communicate the correct reason why the PJ object is being freed.
This was a problem in the cs2cs_emulation setup when auxillary
operations failed to create. The error was not propagated properly when
destroying the parent object.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
