VirtualBox

Changeset 77737 in vbox


Ignore:
Timestamp:
Mar 16, 2019 10:14:00 PM (6 years ago)
Author:
vboxsync
Message:

Runtime/common/math/bignum.cpp: Fixed two memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/math/bignum.cpp

    r76553 r77737  
    22322232     */
    22332233    RTBigNumDestroy(&NormDividend);
    2234     if (pDivisor == &NormDivisor)
     2234    if (pNormDivisor == &NormDivisor)
    22352235        RTBigNumDestroy(&NormDivisor);
    22362236    return rc;
     
    26652665                        break;
    26662666                }
     2667
     2668                RTBigNumDestroy(&TmpMultiplicand);
    26672669            }
    26682670        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette