Bugfixed: use the freed mem
Merge pull request #4 from yzprofile/dynamic_upstream_check_dev

Bugfixed: use the freed mem