[evolution/wip/mcrha/webkit-jsc-api] Correct user_data free function in reply_got_message_selection_jsc_cb()



commit 7ec669cd2e35f98b77a5ef50d38a26088218ccf0
Author: Milan Crha <mcrha redhat com>
Date:   Tue Oct 1 10:24:26 2019 +0200

    Correct user_data free function in reply_got_message_selection_jsc_cb()

 src/mail/e-mail-reader-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/mail/e-mail-reader-utils.c b/src/mail/e-mail-reader-utils.c
index b8bf1e86f8..811585c9c1 100644
--- a/src/mail/e-mail-reader-utils.c
+++ b/src/mail/e-mail-reader-utils.c
@@ -2877,7 +2877,7 @@ reply_got_message_selection_jsc_cb (GObject *source_object,
        g_clear_error (&error);
        g_clear_object (&gsd->reader);
        g_clear_object (&gsd->src_message);
-       g_free (gsd);
+       g_slice_free (GetSelectionData, gsd);
 }
 
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]