From 0715009ecb9104814a424826a38e44b0b0885970 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Sat, 31 Jul 2021 22:25:21 +0200
Subject: Fix a code mistake in memory content creation.

---
 src/analysis/contents/memory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/analysis/contents/memory.c b/src/analysis/contents/memory.c
index 7938562..6a020e8 100644
--- a/src/analysis/contents/memory.c
+++ b/src/analysis/contents/memory.c
@@ -328,7 +328,7 @@ GBinContent *g_memory_content_new(const bin_t *data, phys_t size)
     result->data = allocated;
     result->length = size;
 
-    return NULL;
+    return G_BIN_CONTENT(result);
 
 }
 
-- 
cgit v0.11.2-87-g4458