常見例句雙語例句Listing 1. Code with memory leak and dangling pointer (mem_errors.c)列表 1.帶有一個(gè)內(nèi)存滲漏和一個(gè)不斷擺動(dòng)的指針的代碼 (mem_errors.c)The code shown in Listing 1 shows both a memory leak and a dangling pointer.顯示在 列表 1中的代碼展示了一個(gè)內(nèi)存滲漏和一個(gè)不斷擺動(dòng)的指針。However, it is the interaction of these two functions and using a global pointer variable called namestr that causes both the leak and the dangling pointer.然而,它是這兩個(gè)函數(shù)的相互作用,利用一個(gè)全球性的指針變量叫做namestr,它會(huì)導(dǎo)致滲漏和不斷擺動(dòng)的指針。 返回 dangling pointer