libpurple/protocols/gg/gg.c

branch
release-2.x.y
changeset 42954
a98ee2d89a0a
parent 40920
a0e7e3b8e834
--- a/libpurple/protocols/gg/gg.c	Tue Sep 17 03:53:30 2024 -0500
+++ b/libpurple/protocols/gg/gg.c	Tue Sep 17 14:31:28 2024 -0500
@@ -1146,8 +1146,7 @@
 			}
 		}
 
-		msg = message->str;
-		g_string_free(message, FALSE);
+		msg = g_string_free(message, FALSE);
 
 		if (got_image) {
 			info->pending_richtext_messages = g_list_append(info->pending_richtext_messages, msg);

mercurial