Deepstream-app may cause mem leak with source reconnecting

please refer to this topic. to narrow down this issue, can you use this method to get a memory leak log? and can you use this method to get a valgrind memory leak analysis log? Thanks!