summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-07-31 20:25:21 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-08-01 16:00:57 (GMT)
commit0715009ecb9104814a424826a38e44b0b0885970 (patch)
treedb50cb0aaa04260a335f6dcf0e8b40bfec16509a /src/analysis
parentcae0fa1724ee6499fc53c53f7c11d2d209c45a8c (diff)
Fix a code mistake in memory content creation.
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/contents/memory.c2
1 files changed, 1 insertions, 1 deletions
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);
}