diff options
| author | Thomas Knudsen <thokn@sdfe.dk> | 2017-10-03 13:47:11 +0200 |
|---|---|---|
| committer | Thomas Knudsen <thokn@sdfe.dk> | 2017-10-06 11:48:54 +0200 |
| commit | ca84e57463cacaa0d6b8f81b11ca6714c77e88c5 (patch) | |
| tree | 02459a5c44d958ffae90d13dc5550b06e35d9209 /src/test228.c | |
| parent | 664577ced6a8e4074b1f53af82b5ae5d1d189eac (diff) | |
| download | PROJ-ca84e57463cacaa0d6b8f81b11ca6714c77e88c5.tar.gz PROJ-ca84e57463cacaa0d6b8f81b11ca6714c77e88c5.zip | |
Enable address sanitizer in linux/clang build
Elim some leaks by initializing PJ.destructor in PJ_ob_tran.c properly
Avoid tests bombing when built with address sanitizer: Repair memory leak in test228.c
Avoid tests bombing when built with address sanitizer: Repair memory leak in multistresstest.c
Diffstat (limited to 'src/test228.c')
| -rw-r--r-- | src/test228.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test228.c b/src/test228.c index 1f3d04e8..94f0ec08 100644 --- a/src/test228.c +++ b/src/test228.c @@ -54,6 +54,8 @@ static void* thread_main(void* unused) assert(fabs(y - 49.999396034285531698) < 1e-15); } + pj_free (p_OSGB36_proj); + pj_free (p_WGS84_proj); return NULL; } |
