[client,x11] fix memory leak in clipboard
This commit is contained in:
parent
99b5d2298b
commit
4c034ac36f
@ -172,6 +172,7 @@ static void requested_format_free(RequestedFormat** ppRequestedFormat)
|
||||
return;
|
||||
|
||||
free((*ppRequestedFormat)->formatName);
|
||||
free(*ppRequestedFormat);
|
||||
*ppRequestedFormat = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user