On Wed, Jun 30, 2021 at 04:27:13PM +0800, wuguanghao wrote: > If new->magic != PROF_MAGIC_NODE, profile_free_node() don't free node. > This will cause the node to be unable to be released correctly and > a memory leak will occur. > > Signed-off-by: Wu Guanghao <wuguanghao3@xxxxxxxxxx> > Signed-off-by: Zhiqiang Liu <liuzhiqiang26@xxxxxxxxxx> > Reviewed-by: Wu Bo <wubo40@xxxxxxxxxx> Applied, thanks. - Ted