From 95e204291faa4800781d2f302c41f86a3f01851d Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Tue, 18 Feb 2020 22:21:19 +0100
Subject: Fixed the suffix of memory content file backends.

---
 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 4490238..232a41d 100644
--- a/src/analysis/contents/memory.c
+++ b/src/analysis/contents/memory.c
@@ -286,7 +286,7 @@ GBinContent *g_memory_content_new(const bin_t *data, phys_t size)
 
     result = g_object_new(G_TYPE_MEMORY_CONTENT, NULL);
 
-    fd = make_tmp_file("memcnt", ".bin", &result->storage);
+    fd = make_tmp_file("memcnt", "bin", &result->storage);
     if (fd == -1) goto gmcn_error;
 
     status = safe_write(fd, data, size);
-- 
cgit v0.11.2-87-g4458