BUG: fix dangling pointer

23 jobs for !642 with 1937-keep-gcp in 62 minutes and 51 seconds (queued for 3 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #16442
fast-build

00:05:26

passed #16443
legal-check

00:03:08

 
  Prepare
passed #16445
centos-xdk-prepare

00:01:54

passed #16446
macos
macos-xdk-prepare

00:01:38

passed #16444
ubuntu-xdk-prepare

00:00:47

passed #16447
windows10
windows-10-prepare

00:01:50

passed #16448
windows8
windows-8-prepare

00:01:41

 
  Build
passed #16451
centos-xdk-build

00:33:47

passed #16449
debian-build

00:21:04

passed #16452
macos
macos-xdk-build

00:21:45

passed #16450
ubuntu-xdk-build-doc

00:32:31

passed #16455
ubuntu-xdk-qa-code-coverage

00:52:17

passed #16456
ubuntu-xdk-qa-static-analysis

00:35:06

passed #16453
windows10
windows-10-build

00:29:53

passed #16454
windows8
windows-8-build

00:34:57

 
  Report
passed #16457
ubuntu-xdk-report

00:03:09

 
  External
passed cdash:centos-6.6-gcc

passed cdash:debian-testing-gcc

passed cdash:macos-10.11.6-clang

passed cdash:ubuntu-18.04-fast

passed cdash:ubuntu-18.04-llvm-qa

passed cdash:windows-10-x64-vc14.0

passed cdash:windows-8.1-x86-vc14.0