Merge branch 'mem_fix' into 'master'

Memory leak fixed

See merge request !10
15 jobs from master in 12 minutes 43 seconds (queued for 9 seconds)
Status Job ID Name Coverage
  Build
passed #88416
conda-linux
build_linux_27

05:45

passed #88417
conda-linux
build_linux_35

05:23

passed #88418
conda-linux
build_linux_36

05:21

passed #88419
conda-macosx
build_macosx_27

03:53

passed #88420
conda-macosx
build_macosx_35

03:46

passed #88421
conda-macosx
build_macosx_36

03:44

 
  Test
passed #88422
conda-linux
test_linux_27

05:34

passed #88423
conda-linux
test_linux_35

05:44

passed #88424
conda-linux
test_linux_36

05:48

passed #88425
conda-macosx
test_macosx_27

04:59

passed #88426
conda-macosx
test_macosx_35

05:06

passed #88427
conda-macosx
test_macosx_36

05:06

 
  Docs
passed #88428
conda-linux
docs_linux_35

00:28

 
  Wheels
passed #88429
conda-linux
wheels_linux_27

00:14

passed #88430
conda-linux
wheels_linux_35

00:32