VirtualBox

Ignore:
Timestamp:
Apr 12, 2024 1:59:14 PM (10 months ago)
Author:
vboxsync
Message:

Shared Clipboard/X11: Fixed leak in testcase found by ASAN.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp

    r103428 r104316  
    19881988 * Worker function for ShClX11ReportFormatsToX11Async.
    19891989 *
    1990  * @param  pvUserData           Pointer to a CLIPNEWVBOXFORMATS structure containing
     1990 * @param  pvUserData           Pointer to a PSHCLX11REQUEST structure containing
    19911991 *                              information about the VBox formats available and the
    1992  *                              clipboard context data.  Must be freed by the worker.
     1992 *                              clipboard context data.  Must be free'd by the worker.
    19931993 *
    19941994 * @thread X11 event thread.
     
    26572657        int rc2 = ShClEventSignalEx(pReq->pEvent, rc, NULL /* Payload */);
    26582658        AssertRC(rc2);
     2659
     2660        RTMemFree(pReq);
    26592661    }
    26602662
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