summaryrefslogtreecommitdiffstats
path: root/aux-files/purple-matrix/fix-g_memdup.patch
diff options
context:
space:
mode:
authortechchud <protrude_paying969@simplelogin.com>2025-08-17 19:24:04 -0500
committertechchud <protrude_paying969@simplelogin.com>2025-08-17 19:24:04 -0500
commit513a471118f90ffdbbbf35913ffd01cae7ac569a (patch)
tree455a18d52e5821c604d9fdc33f0be9b5f5344804 /aux-files/purple-matrix/fix-g_memdup.patch
parent4253fe597db9b11ea2115b28549ded464f3ac0e8 (diff)
downloadguix-techchud-513a471118f90ffdbbbf35913ffd01cae7ac569a.tar.gz
guix-techchud-513a471118f90ffdbbbf35913ffd01cae7ac569a.tar.bz2
guix-techchud-513a471118f90ffdbbbf35913ffd01cae7ac569a.zip
rename purple-matrix to matrix-purple
Diffstat (limited to 'aux-files/purple-matrix/fix-g_memdup.patch')
-rw-r--r--aux-files/purple-matrix/fix-g_memdup.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/aux-files/purple-matrix/fix-g_memdup.patch b/aux-files/purple-matrix/fix-g_memdup.patch
deleted file mode 100644
index d0ed6dc..0000000
--- a/aux-files/purple-matrix/fix-g_memdup.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 2452ec47427f62a9a521742c4d46bceb073229db Mon Sep 17 00:00:00 2001
-From: msglm <msglm@techchud.xyz>
-Date: Sun, 19 Jan 2025 11:53:20 -0600
-Subject: [PATCH] g_memdup -> g_memdup2
-
----
- matrix-room.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/matrix-room.c b/matrix-room.c
-index 34ae48b..0d7bc06 100644
---- a/matrix-room.c
-+++ b/matrix-room.c
-@@ -671,7 +671,7 @@ static void _image_download_complete(MatrixConnectionData *ma,
- }
- if (is_known_image_type(content_type)) {
- /* Excellent - something to work with */
-- int img_id = purple_imgstore_add_with_id(g_memdup(raw_body, raw_body_len),
-+ int img_id = purple_imgstore_add_with_id(g_memdup2(raw_body, raw_body_len),
- raw_body_len, NULL);
- serv_got_chat_in(rid->conv->account->gc, g_str_hash(rid->room_id), rid->sender_display_name,
- PURPLE_MESSAGE_RECV | PURPLE_MESSAGE_IMAGES,
---
-2.46.0
-