diff options
author | rexxnor <rexxnor+gnunet@brief.li> | 2019-06-29 09:44:36 +0200 |
---|---|---|
committer | rexxnor <rexxnor+gnunet@brief.li> | 2019-06-29 09:44:46 +0200 |
commit | 3ddd3e7aaa16e086136f64881bc9d403b87a61ec (patch) | |
tree | 4c51e1582b1c11f0c664dbd838522b43bfc2ee9c | |
parent | 08b74a79c8da9efdba38908dd47494d6ede997dd (diff) | |
download | gnunet-3ddd3e7aaa16e086136f64881bc9d403b87a61ec.tar.gz gnunet-3ddd3e7aaa16e086136f64881bc9d403b87a61ec.zip |
changed to large malloc in namestore heap database plugin buffer
-rw-r--r-- | src/namestore/plugin_namestore_heap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/plugin_namestore_heap.c b/src/namestore/plugin_namestore_heap.c index 8fe03764d..2a72c0e51 100644 --- a/src/namestore/plugin_namestore_heap.c +++ b/src/namestore/plugin_namestore_heap.c | |||
@@ -193,7 +193,7 @@ database_setup (struct Plugin *plugin) | |||
193 | return GNUNET_SYSERR; | 193 | return GNUNET_SYSERR; |
194 | } | 194 | } |
195 | 195 | ||
196 | buffer = GNUNET_malloc (size + 1); | 196 | buffer = GNUNET_malloc_large (size + 1); |
197 | if (GNUNET_SYSERR == | 197 | if (GNUNET_SYSERR == |
198 | GNUNET_DISK_file_read (fh, | 198 | GNUNET_DISK_file_read (fh, |
199 | buffer, | 199 | buffer, |