• M
    vbox: Don't leak arrays from XPCOM · 8c572b6c
    Matthias Bolte 提交于
    XPCOM returns an array as a pointer to an array of pointers to the
    actual items. When the array isn't needed anymore the items are
    released, but the actual array containing the pointers to the items
    was not freed and leaked.
    
    Free the actual array using ComUnallocMem.
    
    This doesn't affect MSCOM as SafeArrayDestroy releases all items
    and frees the array.
    8c572b6c
vbox_XPCOMCGlue.c 9.7 KB