VirtualBox

Changeset 71162 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Mar 1, 2018 3:23:53 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121061
Message:

VideoRec: Don't try to free the filename's suffix if it's not allocated by us.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/VideoRec.cpp

    r71137 r71162  
    946946
    947947    RTPathStripSuffix(pszAbsPath);
    948     AssertPtrReturn(pszAbsPath, VERR_INVALID_PARAMETER);
    949 
    950     char *pszSuff    = RTPathSuffix(pszAbsPath);
    951     if (!pszSuff)
    952         pszSuff = RTStrDup(".webm");
    953 
     948
     949    char *pszSuff = RTStrDup(".webm");
    954950    if (!pszSuff)
    955951    {
Note: See TracChangeset for help on using the changeset viewer.

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