[gnome-remote-desktop] clipboard-rdp: Fix small style issues
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-remote-desktop] clipboard-rdp: Fix small style issues
- Date: Wed, 24 Nov 2021 18:04:39 +0000 (UTC)
commit 850bc09cdfcd3b3ad34735caf3c55176a4f3a2f8
Author: Pascal Nowack <Pascal Nowack gmx de>
Date: Sat Nov 6 14:03:54 2021 +0100
clipboard-rdp: Fix small style issues
src/grd-clipboard-rdp.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/src/grd-clipboard-rdp.c b/src/grd-clipboard-rdp.c
index 5526e65..f4091a7 100644
--- a/src/grd-clipboard-rdp.c
+++ b/src/grd-clipboard-rdp.c
@@ -1770,8 +1770,10 @@ cliprdr_client_format_data_response (CliprdrServerContext *cliprdr
GrdClipboardRdp *clipboard_rdp = cliprdr_context->custom;
if (clipboard_rdp->format_data_response)
- g_free ((uint8_t *) clipboard_rdp->format_data_response->requestedFormatData);
- g_clear_pointer (&clipboard_rdp->format_data_response, g_free);
+ {
+ g_free ((uint8_t *) clipboard_rdp->format_data_response->requestedFormatData);
+ g_clear_pointer (&clipboard_rdp->format_data_response, g_free);
+ }
clipboard_rdp->format_data_response =
g_memdup2 (format_data_response,
@@ -2078,8 +2080,10 @@ grd_clipboard_rdp_dispose (GObject *object)
}
if (clipboard_rdp->format_data_response)
- g_free ((uint8_t *) clipboard_rdp->format_data_response->requestedFormatData);
- g_clear_pointer (&clipboard_rdp->format_data_response, g_free);
+ {
+ g_free ((uint8_t *) clipboard_rdp->format_data_response->requestedFormatData);
+ g_clear_pointer (&clipboard_rdp->format_data_response, g_free);
+ }
if (clipboard_rdp->clipboard_retrieval_id)
g_clear_pointer (&clipboard_rdp->clipboard_retrieval_context.entry, g_free);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]