VirtualBox

Changeset 59846 in vbox


Ignore:
Timestamp:
Feb 26, 2016 11:12:37 AM (9 years ago)
Author:
vboxsync
Message:

tstRTUri: missing RTFree (gcc asan)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTUri.cpp

    r58069 r59846  
    783783            else
    784784                RTTestIFailed("#%u: bad testcase; pszCreatedPath is NULL\n", i);
     785            RTStrFree(pszPath);
    785786        }
    786787        else if (rc != VERR_PATH_ZERO_LENGTH || RTStrCmp(pszUri, "file://") != 0)
     
    813814            else
    814815                RTTestIFailed("#%u: bad testcase; pszCreatedUri is NULL\n", i);
     816            RTStrFree(pszUri);
    815817        }
    816818        else if (rc != VERR_INVALID_POINTER || pszPath != NULL)
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