Changeset 73665 in vbox for trunk/src/VBox/Runtime/common/math
- Timestamp:
- Aug 14, 2018 5:49:23 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 124340
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/math/bignum.cpp
r69111 r73665 840 840 { 841 841 Assert(pBigNum->cAllocated > 0); 842 if (pBigNum->fSensitive) 842 if (!pBigNum->fSensitive) 843 RTMemFree(pBigNum->pauElements); 844 else 843 845 { 844 846 RTMemSaferFree(pBigNum->pauElements, pBigNum->cAllocated * RTBIGNUM_ELEMENT_SIZE); 845 847 RT_ZERO(*pBigNum); 846 848 } 847 RTMemFree(pBigNum->pauElements);848 849 pBigNum->pauElements = NULL; 849 850 }
Note:
See TracChangeset
for help on using the changeset viewer.