VirtualBox

Changeset 103504 in vbox for trunk/src/libs/xpcom18a4/xpcom


Ignore:
Timestamp:
Feb 21, 2024 6:59:41 PM (12 months ago)
Author:
vboxsync
Message:

libs/xpcom/xpidl: Fix possible but harmless dangling pointer, and fix missing but also harmless conversion from free() to RTMemFree() after previous changes, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/typelib/xpidl/xpidl_idl.c

    r103503 r103504  
    469469            callback_state->input_stack = data->next;
    470470            free(data->filename);
    471             free(data->buf);
     471            RTMemFree(data->buf);
    472472            free(data);
    473473            data = callback_state->input_stack;
     
    569569            data = next;
    570570        }
     571        callback_state->input_stack = NULL;
    571572        return 0;
    572573
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