Open GreatDiscovery opened 5 months ago
sds和char混用,导致内存泄漏。sdsnewlen(master->addr, sdslen(master->addr))sdslen中的master->addr传入了一个char类型的变量,sdslen访问内存越界了
sds和char混用,导致内存泄漏。sdsnewlen(master->addr, sdslen(master->addr))sdslen中的master->addr传入了一个char类型的变量,sdslen访问内存越界了