summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2019-08-09 00:08:11 +0200
committerGitHub <noreply@github.com>2019-08-09 00:08:11 +0200
commit1776ad82c01c0f9efeeda043eb02e10187084066 (patch)
treed8ba0871ef065142eafa54d692e359f8247cc3e2
parent4e2f81cfa1f6dfa24912c3ff88470471b39b695e (diff)
downloadopenblas-1776ad82c01c0f9efeeda043eb02e10187084066.tar.gz
openblas-1776ad82c01c0f9efeeda043eb02e10187084066.tar.bz2
openblas-1776ad82c01c0f9efeeda043eb02e10187084066.zip
Add files via upload
-rw-r--r--driver/others/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/others/memory.c b/driver/others/memory.c
index 77d2b72fa..534d6d9fc 100644
--- a/driver/others/memory.c
+++ b/driver/others/memory.c
@@ -2041,7 +2041,7 @@ static BLASULONG alloc_lock = 0UL;
static void alloc_mmap_free(struct release_t *release){
-if (!release->address) return 0;
+if (!release->address) return;
if (munmap(release -> address, BUFFER_SIZE)) {
int errsv=errno;