Changeset 1095 in kBuild for trunk/src/kObjCache
- Timestamp:
- Sep 15, 2007 11:47:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kObjCache/kObjCache.c
r1093 r1095 835 835 static void kOCSumDeleteChain(PKOCSUM pSumHead) 836 836 { 837 void *pv; 838 while ((pv = pSumHead->pNext)) 839 { 840 pSumHead = pSumHead->pNext; 841 free(pv); 837 PKOCSUM pSum = pSumHead->pNext; 838 while (pSum) 839 { 840 void *pvFree = pSum; 841 pSum = pSum->pNext; 842 free(pvFree); 842 843 } 843 844 memset(pSumHead, 0, sizeof(*pSumHead));
Note:
See TracChangeset
for help on using the changeset viewer.